Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Simple Drop-down menu with Image Display

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 opengl_beginner   Members   

106
Like
0Likes
Like

Posted 30 October 2012 - 02:19 AM

Hi guys! Posted Image

I'm working on a very simple problem right now.
I would like to create a user interface of the following structure:

1) Drop-drop menu with options of multiple image names
2) Image panel, which displays the image selected in the menu


Any ideas of how to get started?

Thanks!Posted Image

#2 Erebel   Members   

218
Like
0Likes
Like

Posted 30 October 2012 - 09:46 AM

It depends on whether or not you want to use a GUI library to handle this. You could use something like Qt.

Here are couple useful links:
http://doc.qt.digia.com/qq/qq26-openglcanvas.html
http://nccastaff.bournemouth.ac.uk/jmacey/RobTheBloke/www/opengl_programming.html#6

#3 larspensjo   Members   

1561
Like
0Likes
Like

Posted 30 October 2012 - 09:51 AM

There is libRocket. It is general purpose, you just have to redefine an interface to OpenGL. It takes some time to get it all going, but when that is done, you will have a very powerful tool.
Current project: Ephenation.
Sharing OpenGL experiences: http://ephenationopengl.blogspot.com/




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.