Eero,
I must be missing something; I don't have any resource files
included in "freeglut". I must also admit that it really doesn't matter
very much to me, although I will say that the OpenGL logo is quite pretty.
"Freeglut" is by definition platform-specific. It is supposed to
absorb all the platform-specific features and present a platform-independent
upper level to its application programs. So I will vote again for putting
this into the "freeglut" distribution.
John F. Fay
john.fay@...
-----Original Message-----
From: Eero Pajarre [mailto:epajarre@...]
Sent: Tuesday, May 27, 2003 11:47 PM
To: freeglut-developer@...
Subject: Re: [Freeglut-developer] glut compatible Windows icon
Fay John F Contr AAC/WMG wrote:
> Well, I tried it and it didn't make any difference. I still get a
> Windows type of logo for my "freeglut" demo programs and an OpenGL logo
> for my GLUT demo programs. I may not have had that particular
> "GLUT_ICON" defined properly for my (Windows 2000) system. But the
> change seems innocuous enough--and it had no harmful effects for
> me--that I would say let's put it in.
>
You have to edit your "resource file" which is included in the
Windows compilation and add an icon named "GLUT_ICON" there.
(I guess there are different ways for doing this, but that
is what I did with VC++)
(Mesa) GLUT does soemthing similar, but if it does not
find the GLUT_ICON in executable it checks glut32.dll also.
I guess that is the place where the OpenGL logo comes from.
I haven't tried the (Mesa / original) GLUT for a while,
but the change I did in freeglut enabled me to get my
icon on the program title and made me happy.
I know this all is horribly platform specific, but I submitted
it in the name of "GLUT-classic compatibility" ;-)
Eero
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@...
https://lists.sourceforge.net/lists/listinfo/freeglut-developer

Fay John F Contr AAC/WMG wrote:
> Well, I tried it and it didn't make any difference. I still get a
> Windows type of logo for my "freeglut" demo programs and an OpenGL logo
> for my GLUT demo programs. I may not have had that particular
> "GLUT_ICON" defined properly for my (Windows 2000) system. But the
> change seems innocuous enough--and it had no harmful effects for
> me--that I would say let's put it in.
>
You have to edit your "resource file" which is included in the
Windows compilation and add an icon named "GLUT_ICON" there.
(I guess there are different ways for doing this, but that
is what I did with VC++)
(Mesa) GLUT does soemthing similar, but if it does not
find the GLUT_ICON in executable it checks glut32.dll also.
I guess that is the place where the OpenGL logo comes from.
I haven't tried the (Mesa / original) GLUT for a while,
but the change I did in freeglut enabled me to get my
icon on the program title and made me happy.
I know this all is horribly platform specific, but I submitted
it in the name of "GLUT-classic compatibility" ;-)
Eero