Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
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

Rendering buttons on top of OpenGL

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
1 reply to this topic

#1 polyfrag   Members   

2479
Like
0Likes
Like

Posted 28 September 2012 - 01:23 AM

If I use WS_OVERLAPPEDWINDOW the push buttons are automatically drawn on top of OpenGL but when I'm in fullscreen mode and use WS_POPUP they get covered up by OpenGL.

How do I make the buttons show up in fullscreen mode?

#2 MarkS   Members   

3439
Like
0Likes
Like

Posted 28 September 2012 - 10:06 AM

To be entirely honest, I am surprised that worked at all. Posted Image Unless the rendered image is being copied to the window via BltBit, which is a scary thought!, the image should have overwritten anything in the window.

The only way to implement a GUI in OpenGL, to my understanding, is through OpenGL. There are GUI libraries available that make this easier. I'm sorry, I cannot remember the names though. Maybe someone else will step in.




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.