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: Alexander Pipelka
Subject: Re: [paragui-users] transparent background & PG_MPEGPlayer
Date: 20 Apr 2002 19:32:36 +0200

Am Sam, 2002-04-20 um 13.57 schrieb Steffen Blume:
<snip>
> I have an PGImage in the Background and added three PGButtons like this:
>   AddWidget(new PG_Image(NULL,p, "menu.png"));
> 
>   AddWidget(new PG_Button(NULL, MN_SINGLEPLAYER,
>  PG_Rect(50,300,247,99),"","localgame")); AddWidget(new PG_Button(NULL,
>  MN_MULTIPLAYER, PG_Rect(400,130,303,99),"","networkgame")); AddWidget(new
>  PG_Button(NULL, MN_QUIT, PG_Rect(332,450,137,99), "","quit"));
> 
> Here is are the three sections out of my theme:
>     <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"/>
>           <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"/>
>       </object>
>    </widget>
> 
>     <widget>
>       <type value="networkgame"/>
>       <object>
>           <name value="Button"/>
>           <filename name="background0" value="conquest/networkgame_d.png"/>
>           <filename name="background1" value="conquest/networkgame_l.png"/>
>           <filename name="background2" value="conquest/networkgame_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"/>
>           <property name="transparency0" value="0"/>
>           <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"/>
>       </object>
>    </widget>
> 
>    <widget>
>       <type value="quit"/>
>       <object>
>           <name value="Button"/>
>           <filename name="background0" value="conquest/quit_d.png"/>
>           <filename name="background1" value="conquest/quit_l.png"/>
>           <filename name="background2" value="conquest/quit_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"/>
>           <property name="transparency0" value="0"/>
>           <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"/>
>       </object>
>     </widget>

Looks ok to me.

> How can I submit the images?

Please send them to my private address (I guess they are to big for the
list).

Alex






reply via email to

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