[CLOSED] get icon method

Started by tlf30, November 16, 2011, 02:48:06

Previous topic - Next topic

tlf30

There needs to be a getIcon() method that returns a byte buffer of the current icons being used.

Matzon

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

tlf30

You can give lwjgl an array of icons so it can use the icons it needs for that OS.

tlf30

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.

CodeBunny

Shouldn't they all be the same image, just scaled differently? Use the correctly scaled image for your needs.

tlf30

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.

kappa

IMO such a method isn't really needed in the LWJGL API. The icon set can easily be tracked/recorded inside your own application.

tlf30

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.