Re: Alpha blended png for splash screen?



Quoted by a squadron of angry dogs
For `Dan Korostelev <dan ats energo ru>' 
On Friday, 16 April 2004 (23:21):


Is there a way to show a PNG splash screen with alpha blending (may be
with evil hacks) with GTK 2.4 and XFree86 4.3?


        GAIM[1] does a pretty interesting hack to show drop shadows on tooltips; maybe
you'd like to look at its source code.

        As far as I remember, they got a screenshot of the tooltip area + shadow area,
did a blend with the shadows, and then used that as a background to a popup
window.

        This is how other things, like transparent terminals, fakes transparency under
X window, as there's yet no easy way of doing this (XOrg's server can do alpha
blending and more, but it's not widely used, nor ready for general public yet).

        [1] http://gaim.sf.net/

-- 

 Leandro A. F. Pereira        (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

         "Se você obedece a todas as regras, acaba perdendo
                toda a diversão." --Katherine Hepburn




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]