--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> Gustavo Sverzut Barbieri wrote:
> >  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> >> Hi,
> >> For a more complex example, take the blurr2 skin. It now has a
> nice
> >> border with shadow around the box. The code only respects
> <rectangle>
> >
> >> definitions, <image>s are ignored (it would look bad if the gui
> code
> >> scales them). It also has round buttons.
> >
> > Hi dischi, I'll look your code yet, but an idea:
> > Skin could have some named images that could be used to draw fancy
> > stuff. They could be:
> >
> > left-top
> > top
> > right-top
> > right
> > right-bottom
> > bottom
> > left-bottom
> > left
> > background
> 
> I had the same idea, but it will be very complicated and all the
> resizing will be slow. And ...

Isn't it done in C? Why slow? And there are not too many widgets...
Also, we could have it to replicate instead of scale.
 
> > corner ones shouldn't be scaled, but others should.
> 
> ... how do you know that? Only if you have a simple leine as border
> like the background from the audio player. IMHO using simple
> rectangles works best. BTW Aubin: feel free to make the black bar the
> size 2. It was only a small demo what the new background could look
> like. 

I was thinking and we could replicate the top, left, right and bottom
borders instead of scaling them. Also, we could specify if the
background should be scaled or replicated side-by-side.

We should reserve the window dimension to contents, add the decorations
outside. I mean, if u have a 300x300 window, that area will only
contain widgets and stuff, not decoration.

With that basic stuff, we could have beautiful windows. And it's not
that complicated. This tech is used in many webpages.

Gustavo

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to