View Full Version : dialog box?
i created a simple program where user can just right-click and a simple menu pops-up.. from the menu, user can select options such as creating a cube, turning lights on/off etc...
what i want to do now is add options for user to do translation & scaling of the object.. so how do i make a dialog box pop up from the menu option of translation and let user enter the x,y,z value they want to translate?
07-07-2005, 04:17 AM
Are you using only OpenGL ?
I suggest you to use another API, it depends of your platform application: GDI, Win32, WxWidgets (under windows), GTK etc.. (under !NIX)
hope that helps
yes, i am using only opengl with C++.. thanks for your suggestions.. but if i use those API, does it mean i need to change my code totally? or can it just be easily implemented into my existing code?
07-07-2005, 08:07 AM
Yes, concerning win APIs, not totally but a majority, specially the framework part (window, menu, pop-up etc..).
I don't understand how you can create a framework (windows, menu..) only with OpenGL, this lib need SDL, Win32, GLUT or somthing else..
07-07-2005, 09:22 AM
some libs : GLui (http://glui.sourceforge.net/)
SXML GUI (http://www.gamedev.net/community/forums/topic.asp?topic_id=325963) etc
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.