PDA

View Full Version : GLUT: Windows without decorations?



Linuxhippy
10-10-2003, 12:59 AM
Hi there!

I need to create a Tooltip-Function for my openGL/Glut program.

How is it possible to create Windows without any Windowmanager-Decoration?

Thanks a lot, mfg Clemens

nexusone
10-10-2003, 05:13 AM
That is a limitation of using GLUT, look into using SDL library over the GLUT.

SDL is a good cross platform API.


Originally posted by Linuxhippy:
Hi there!

I need to create a Tooltip-Function for my openGL/Glut program.

How is it possible to create Windows without any Windowmanager-Decoration?

Thanks a lot, mfg Clemens

Linuxhippy
10-10-2003, 05:35 AM
Time to hack up GLUT since SDL hasnt enough window-manager features....

lg Clemens

nexusone
10-10-2003, 08:09 AM
There are a few sites on hacking GLUT, but would require anyone using your program to have the improved version of the GLUT library.

Another option Troltech's QT library, cross platform with nice windowing features for menu's and other gadgets.


Originally posted by Linuxhippy:
Time to hack up GLUT since SDL hasnt enough window-manager features....

lg Clemens

Linuxhippy
10-10-2003, 09:11 AM
Hi again!

Yes, I also thought about this solution, but in the end it forces the use a complete Class-LIbrary for only using some window-manager functions.

I found a much better possiblity to slove this problem: FreeGlut

FreeGlut is a project on freeglut.sourceforge.net which is a GLUT-compatible free GLUT replacement and also tries to add new features. I think they also accept patches from everyone.

Cool stuff, ha?

lg Clemens

10-10-2003, 12:51 PM
Perhaps can you use glut sub windows?