openGL GUI
I should be able to make a graphic interface for my flight sim, with buttons I can push and textbox I can type inside, but I really don''t know how to do that. I mean, I know how to draw a texture sphere with some text inside, but how can I manage to click on it ?
Please gimme some tips !
Thanks again
Hi there,
you can do this in either of 2 ways (that i know of)
a) create a normal window control that is of style
ws_ex_transparent and is a child of your main window
and just create your own painting function.
b) create your own class that you send messages to
from the normal message que for your main form and
process them yourself and just create a draw method
that is called once per frame for each visible control.
Hope this helps.
you can do this in either of 2 ways (that i know of)
a) create a normal window control that is of style
ws_ex_transparent and is a child of your main window
and just create your own painting function.
b) create your own class that you send messages to
from the normal message que for your main form and
process them yourself and just create a draw method
that is called once per frame for each visible control.
Hope this helps.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement