LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: tlf30 on November 16, 2011, 02:48:06

Title: [CLOSED] get icon method
Post by: tlf30 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.
Title: Re: [idea] get icon method
Post by: Matzon on November 16, 2011, 06:36:57
do you not have control of which Icon you have set???
Title: Re: [idea] get icon method
Post by: tlf30 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.
Title: Re: [idea] get icon method
Post by: tlf30 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.
Title: Re: [idea] get icon method
Post by: CodeBunny 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.
Title: Re: [idea] get icon method
Post by: tlf30 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.
Title: Re: [idea] get icon method
Post by: kappa 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.
Title: Re: [idea] get icon method
Post by: tlf30 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.