LWJGL
May 20, 2013, 19:29:00 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [CLOSED] get icon method  (Read 1595 times)
tlf30
Regular nerd
**
Posts: 63



« on: November 15, 2011, 18:48:06 »

There needs to be a getIcon() method that returns a byte buffer of the current icons being used.
Logged
Matzon
Administrator
Demigod
*****
Posts: 2237



« Reply #1 on: November 15, 2011, 22:36:57 »

do you not have control of which Icon you have set???
Logged

tlf30
Regular nerd
**
Posts: 63



« Reply #2 on: November 16, 2011, 06:27:51 »

You can give lwjgl an array of icons so it can use the icons it needs for that OS.
Logged
tlf30
Regular nerd
**
Posts: 63



« Reply #3 on: December 09, 2011, 18:11:28 »

My program meeds to know what icons out of the array that I gave it are being used so I can render the icons on the screen.
Logged
CodeBunny
Nerdus Imperius
*****
Posts: 561



WWW
« Reply #4 on: December 12, 2011, 05:27:22 »

Shouldn't they all be the same image, just scaled differently? Use the correctly scaled image for your needs.
Logged
tlf30
Regular nerd
**
Posts: 63



« Reply #5 on: December 12, 2011, 09:42:44 »

My program uses all diffrent icons. The reason for this is so I can see which icons i gave it are being used and then use the icons to build a single picture.
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #6 on: January 18, 2012, 03:39:07 »

IMO such a method isn't really needed in the LWJGL API. The icon set can easily be tracked/recorded inside your own application.
Logged
tlf30
Regular nerd
**
Posts: 63



« Reply #7 on: January 18, 2012, 22:19:15 »

LWJGL only uses the icons it needs, you have to give it an array of icons for it to use, but it does not always use all of them. Thats why the set icon method returns the number of icons it is using.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!