Posted: Mon Jun 22, 2009 5:39 am Post subject: Doubt with OpenGL
I am doing a project in Visual Studio, in which we get extra points for using a graphical implementation in OpenGL! Since i didn't learn how to work with OpenG, I have no clue of how to do certain things.
Able to now create a window with colored background, but like to create buttons, text and normal text box to fill as the program is run. Can someone please help me? Because i found enough information, but in languages that were not c + +.
Another question is: how do I make the content of the console (the main switch) appear in the window created that i have created with OpenGL?
If you can clarify my question with examples, i will be grateful.
**
Sponsor Sponsor
DtY
Posted: Mon Jun 22, 2009 11:55 am Post subject: RE:Doubt with OpenGL
You can't create buttons, text boxes, etc. You'll have to draw a rectangle on the screen and check the mouse events to see if it's clicked.
anamarta
Posted: Mon Jun 22, 2009 12:48 pm Post subject: Re: RE:Doubt with OpenGL
DtY @ Mon Jun 22, 2009 11:55 am wrote:
You can't create buttons, text boxes, etc. You'll have to draw a rectangle on the screen and check the mouse events to see if it's clicked.
and how i do that?
remember that i've said that i have no clue about this!
DtY
Posted: Mon Jun 22, 2009 2:12 pm Post subject: RE:Doubt with OpenGL
Might want to start by looking at some of the tutorials here