Hello Guest

[CLOSED] get icon method

  • 7 Replies
  • 10331 Views
*

Offline tlf30

  • **
  • 73
[CLOSED] get icon method
« on: November 16, 2011, 02:48:06 »
There needs to be a getIcon() method that returns a byte buffer of the current icons being used.
« Last Edit: November 16, 2011, 02:50:43 by tlf30 »

*

Offline Matzon

  • *****
  • 2242
Re: [idea] get icon method
« Reply #1 on: November 16, 2011, 06:36:57 »
do you not have control of which Icon you have set???

*

Offline tlf30

  • **
  • 73
Re: [idea] get icon method
« Reply #2 on: November 16, 2011, 14:27:51 »
You can give lwjgl an array of icons so it can use the icons it needs for that OS.

*

Offline tlf30

  • **
  • 73
Re: [idea] get icon method
« Reply #3 on: December 10, 2011, 02: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.

Re: [idea] get icon method
« Reply #4 on: December 12, 2011, 13:27:22 »
Shouldn't they all be the same image, just scaled differently? Use the correctly scaled image for your needs.

*

Offline tlf30

  • **
  • 73
Re: [idea] get icon method
« Reply #5 on: December 12, 2011, 17: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.

*

Offline kappa

  • *****
  • 1319
Re: [idea] get icon method
« Reply #6 on: January 18, 2012, 11: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.

*

Offline tlf30

  • **
  • 73
Re: [idea] get icon method
« Reply #7 on: January 19, 2012, 06: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.