Jump to content
  • Advertisement
Sign in to follow this  
andrei94

Window appearance customization

This topic is 2389 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone ! My name is Andrei , i'm 18 and im looking forward being a programmer :D


My big question is how can i change the look of a window so that it wont have the window's basic boring aspect ;D ( i'm working with c++)

Thanks to everyone who post usefull ideeas or advices :D

Share this post


Link to post
Share on other sites
Advertisement
Well if you take an application such as Spotify:

http://cf.scdn.co/u/wp/2008/07/spotify-030.png

They use Windows Template Library and do all of their own custom drawing. If you want to do this in C++ then that's a pretty good option however you'll find yourself dealing heavily with windows messaging and drawing at quite a primitive level. I played around with WTL recently and to be honest I didn't think it was all that. I found it to be such a light wrapper that it was almost pointless, it's handling of windows messaging is definitely an improvement though. I chose to ditch WTL and just do my custom GUI stuff in a Direct3D window since i was making a 3d editor and wanted an in-engine GUI as well.

The approach you take will depend on the type of application you are writing. Can you give us more information on what you are making?

Share this post


Link to post
Share on other sites
You could also use Qt. Qt lets you create a cross platform program (in C++) and create the window layout, and it can either use the native window drawing system (so on OS X, Linux, and Windows you get the native look and feel), or you can customize the rendering (we do this at my work in Squeeze) to get your own look.

Share this post


Link to post
Share on other sites

Cornstalks. Did you use QT edit to lay that out?

Yes and no. I didn't do it, but yes, Qt Designer was used to design a lot of the widgets. The main window is hard coded C++, but uses our custom widgets to piece the whole window together (for example, the preview window and the preset boxes are different widgets, and the main window class just creates an instance of each and places them). I work GUI-less stuff though, so that's about all I know about the GUI.

Share this post


Link to post
Share on other sites
well im trying to do a windows app with customized appearance biggrin.png with d3d y i know i can do it ... but its used mostly for games...

PS: i dont want to render at a high fps rate.. nor to be real time Edited by andrei94

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!