Jump to content
  • Advertisement
Sign in to follow this  
Holland

multiple windows in C++

This topic is 3491 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

Basically, I'm making a small 3D game. Since I have the basic architecture up (state system, rendering, basic mouse/kb input, mesh loading) I decided I would like to start steering away from making the actual game, and lean more towards making a solid editor for the game. With that said, I'd like to just load up the basic level with its textures, and then have a secondary window open up depending on what I'm trying to edit. So, if I want to add lights to the scene I would press 'L', for instance, and it would open up a window that would then let me change some light properties and such. I have mouse input and picking working so I could then put some sphere representation of a light int he world, drag it around, and then in the end be able to save out the information. I already started working on this but using billboarded poly's as my "buttons"...but this isn't really working out because it's interfering with screen space to see what I'm actually working on. Can anyone point me in the correct direction for some code to open up a second window in C++ and be able to send messages or just share variables between the two windows? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Generally, you create a second window just like you create a first window. The specifics depend on what operating system you're using, possibly what window manager and any toolkits you're using (e.g. wxWidgets, MFC, etc.).

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!