Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
multiple viewports in one window
How would you go about using one window and having multiple view ports on this window. I am trying to write a warcraft like game. There is going to be one viewport to display the map and all characters, another viewport that is an abstraction of the map, and the last viewport is going to be the rest of the screen which will contain a graphic (which surrounds the other viewports) and selectable menu buttons. I am guessing this will involve drawing the 2 map viewports first and then drawing the graphical menu over the rest of the screen but not drawing over the other viewports. Would it be easier to just use three seperate windows? Can someone point me in the right direction? Thanks,