LWJGL
May 20, 2013, 11:22:23 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [RFE] Icon alpha on Linux  (Read 1764 times)
Elviz
Newbie
*
Posts: 23


« on: May 06, 2010, 16:15:45 »

  • Ubuntu 10.04 (lucid)
  • LWJGL 2.4.2

Even when the byte buffers passed to Display.setIcon contain proper alpha data, the displayed icon(s) will only have on/off transparency. This is especially visible when using the Alt+Tab window switcher. I noticed that the icons of other applications (i.e., non-LWJGL ones) don't have this problem, so apparently there's some level of support for 8-bit transparency that LWJGL doesn't currently make use of.

A similar limitation in the Windows port was removed some time ago (r3227).
Logged
mot
Regular nerd
**
Posts: 57


WWW
« Reply #1 on: May 06, 2010, 16:26:28 »

Another thing related to program icon -- when setting a custom icon there is often a delay before the icon is changed from the default LWJGL one. I guess this is because the system is busy loading the rest of the program and processing; although Display.setIcon() is the first thing I call after Display.setDisplayMode(), sometimes the default LWJGL icon is visible for a second or two.

Would it be possible to set the icon before opening the display?
Logged

Tom Andrle - Catnap Games - http://www.catnapgames.com
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #2 on: May 07, 2010, 11:42:30 »

A similar limitation in the Windows port was removed some time ago (r3227).

someone needed the feature so they provided a patch for windows.

I'm sure if someone provides a patch for this feature it'd be added.
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!