I started with an RPG a while ago and I'm now almost done with the basics of the engine so that I can jump right on to content, however, I ran into a problem recently. I had a very basic map editor that was soley made with SDL so I had to make my own custom UI and it took too long to make my own textboxes, checkboxes etc. so I waited a while with the development of the map editor.
There are many map editors that uses Windows' buttons, textboxes, checkboxes etc. and it would really help me in my development since I want to focus on the actual meat of the game and not on designing a textbox class.
So the question I want to ask is how do I use SDL's rendering within the windows framework? I basically want to put the editor into a window that uses windows' UI.
The picture to the left is a screenshot of my current map editor and the picture to the right is an "illustration"(/example) of how it would look if it was within the windows framework (i.e. the way I want it).
If there's something you don't understand with my post, please tell me and i'll try to explain it some more.
Show differencesHistory of post edits
#1The Magical Pot
Posted 10 January 2012 - 12:21 PM
I started with an RPG a couple months ago and now I am almost done with the basic engine so I can jump right on to content, however, I ran into a problem recently. I had a very basic map editor that was soley made with SDL and It would take too long to do the UI(/GUI) for the map editor myself and I noticed that others have their map editor set up within the windows framework (I don't actually know if that is the right way to put it, but what I mean is that they can use windows buttons etc. and not only custom buttons). So just for an example, Warcraft, Starcraft, any game that offers public map editors, how do I set up my map editor like those so that I can both use SDL's rendering and the utilities of the windows UI?