paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] simple image centered


From: Alexander Pipelka
Subject: Re: [paragui-users] simple image centered
Date: 31 May 2002 21:58:12 +0200

Am Sam, 2002-06-01 um 00.46 schrieb Lonnie Cumberland:
> Hi Alex,
> 
> The only problem with using the Theme method to produce the desired effect
> is that I will also be creating additional windows in the application that
> will need these features for their instances.

No problem at all.
Just name the part i posted as e.g "WindowNoBorder".

<widget>
        <type value="WindowNoBorder"/>
        <object>
...

Then create PG_Window object's differently:

PG_Window border(parent, PG_Rect(..), flags, "Window");
PG_Window noborder(parent, PG_Rect(..), flags, "WindowNoBorder");

You see, no problem at all,.. :))

Alex

> 
> Cheers,
> Lonnie
> 
> ----- Original Message -----
> From: "Alexander Pipelka" <address@hidden>
> To: "paragui-users" <address@hidden>
> Sent: Friday, May 31, 2002 11:50 AM
> Subject: Re: [paragui-users] simple image centered
> 
> 
> > Am Fre, 2002-05-31 um 23.34 schrieb Lonnie Cumberland:
> > > Hello All,
> > >
> > > Well after looking through the header files for the Paragui "PG_Window"
> > > flags I have come to find out that there seem to be no flags set up to
> > > handle things such as instantiating a window from PG_Window with no
> borders
> > > and no decorations.
> > >
> > > I guess, as Andrew has mentioned, that I might have to see about doing
> it
> > > through regular SDL.
> > >
> > > I think that these types of flags would be VERY useful in the ParaGUI
> > > classes as this type of thing is needed.
> >
> > Please try the following theme part. It will produce the behaviour wou
> > need:
> >
> > <widget>
> > <type value="Window"/>
> > <object>
> >     <name value="Window"/>
> >     <filename name="background" value="default/back.bmp"/>
> >     <property name="backmode" value="TILE"/>
> >     <property name="blend" value="100"/>
> > *     <property name="bordersize" value="0"/>
> > </object>
> > <object>
> >     <name value="Titlebar"/>
> >     <filename name="background" value="default/back.bmp"/>
> >     <gradient name="gradient" color0="0x00CFAFFF" color1="0x00DCC8FF"
> > color2="0x00DCC8FF" color3="0x00F5E1FF"/>
> >     <property name="backmode" value="STRETCH"/>
> >     <property name="blend" value="120"/>
> > *     <property name="height" value="0"/>
> > *     <property name="bordersize" value="0"/>
> > </object>
> > .
> > .
> >
> > The '*' chars are not part of the theme description.
> >
> > Alex
> >
> >
> >
> >
> > _______________________________________________
> > paragui-users mailing list
> > address@hidden
> > http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
> 
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users






reply via email to

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