Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Changing GLUT-icon


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 edotorpedo   Members   -  Reputation: 198

Like
Likes
Like

Posted 29 April 2003 - 08:27 AM

Simple Question: Is there any way to change the default GLUT-icon in your app (to a random icon in my directory)? I''ve tried googling it, but it didn''t turn up anything. Thanks, Edo

Sponsor:

#2 Ridge   Members   -  Reputation: 188

Like
Likes
Like

Posted 29 April 2003 - 04:03 PM

From the GLUT Win32 readme:
quote:

To customize the windows icon, you can use the resource name
GLUT_ICON. For example, create an icon named "glut.ico", and
create a file called glut.rc that contains the following:
GLUT_ICON ICON glut.ico
then compile the glut.rc file with the following:
rc /r glut
and link the resulting glut.res file into your executable
(just like you would an object file).
Alternatively, you can simply add the glut.rc file to your
project if you are using Microsoft Developer Studio.






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.



PARTNERS