paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] transparent background & PG_MPEGPlayer


From: Steffen Blume
Subject: Re: [paragui-users] transparent background & PG_MPEGPlayer
Date: Sun, 21 Apr 2002 20:59:06 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 21. April 2002 18:13 schrieben Sie:
> Am Sam, 2002-04-20 um 13.57 schrieb Steffen Blume:
> > > > I've got a problem with an image with transparency (saved as png),
> > > > which I use as background for a button. When the button is displayed
> > > > for the first time, it's transparent. But when I move the mouse over
> > > > it, the transparency gets lost.
>
> I reread your message and then i found the following:
> >     <widget>
> >     <type value="localgame"/>
> >     <object>
> >         <name value="Button"/>
> >         <filename name="background0" value="conquest/localgame_d.png"/>
> >         <filename name="background1" value="conquest/localgame_l.png"/>
> >         <filename name="background2" value="conquest/localgame_n.png"/>
> >         <property name="backmode0" value="TILE"/>
> >         <property name="backmode1" value="TILE"/>
> >         <property name="backmode2" value="TILE"/>
> >         <property name="blend0" value="0"/>
> >         <property name="blend1" value="0"/>
> >         <property name="blend2" value="0"/>
> >         <property name="bordersize0" value="0"/>
> >         <property name="bordersize1" value="0"/>
> >         <property name="bordersize2" value="0"/>
>
> Take a look at the next 3 entries:
> >         <property name="transparency0" value="100"/>
> >         <property name="transparency1" value="0"/>
> >         <property name="transparency2" value="0"/>
> >
> >         <filename name="iconup" value="none"/>
> >         <filename name="icondown" value="none"/>

> >             <property name="colokey" value="0x00000000"/>
This is not defined in themes, I saw. Only for the layout, I think.

> >     </object>
> >    </widget>
>
> The other buttons define all 3 transparencies as 0.
>
> Could this be your problem ?
>
> Alex
>
>

I changed the three values to 100 and then to 0. No influence. Same thing 
happend.
When gets the themed surface drawn? Only one time, when the widget is created 
or serveral times. I looked at the code, but it's not easy to understand. 
Gets the surface of a themed widget redrawn, when the state (mouse over, 
mouse pressed, ...) changes?

Steffen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wwv8v0NFVQKH0zgRAvG8AJ48U6MSo5tAOcBgeFIu/rnCgilF8gCgxa6n
eLKM2qOihJ/HQtbOJ+t/xDw=
=8WYb
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]