GLUT: Windows without decorations?

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

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:
[b]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[/b]

Time to hack up GLUT since SDL hasnt enough window-manager features…

lg Clemens

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:
[b]Time to hack up GLUT since SDL hasnt enough window-manager features…

lg Clemens[/b]

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

Perhaps can you use glut sub windows?