Jeremy,

        OK, here's the scoop.  GLUT menus are system-specific and are not based on the underlying GLUT windowing system.  If you look at different GLUT configurations you will find that GLUT menus on Windows look one way and GLUT menus on Linux look thoroughly different.

        With "freeglut", on the other hand, the menu resides in its own "freeglut" window that partially covers the window from which the menu was invoked.  When the menu window goes away, the underlying window is now exposed where it was not and so a display callback is triggered.  Unfortunately I can't think of any way around it.  In order to make the colored string persist in the "freeglut" window you will need to call "drawString" from your display callback.

        If you can think of a way to implement this the way GLUT did, please let me know.  I'm always open to ideas.

John F. Fay
Technical Fellow, Jacobs/Sverdrup TEAS Group
850-729-6330
john.fay@eglin.af.mil
 
-----Original Message-----
From: freeglut-developer-admin@lists.sourceforge.net [mailto:freeglut-developer-admin@lists.sourceforge.net] On Behalf Of Jeremy Dreese

Sent: Tuesday, February 07, 2006 2:41 PM
To: freeglut-developer@lists.sourceforge.net
Subject: Re: [Freeglut-developer] problem with program

Fay John F Dr CTR USAF AFSEO/SK wrote:
> Jeremy,
>
>         I'm not a Linux expert but if nobody else steps up I will give
> it a shot.

Actually, in doing some more testing, it doesn't appear to be a linux specific problem.  I tried the aforementioned program on a Sun system in conjunction with freeglut and saw the same problem as on the linux system (see my previous message).  I suspect that we're just going about things the wrong way in the program we wrote (and it just happened to work previously).  Any help you (or anyone) can provide would be appreciated.

Thanks,
Jeremy


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?  Stop!  Download the new AJAX search engine that makes searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer