Hi,

Rob is working on the gui stuff, I'm working on a new skin. I think we
should activate the new gui stuff with the new skin. The old skin
doesn't use the gui code, so nothing get's broken. First of all the
status of my new skin:

The menu is working except the extended menu stuff. TV and audio
player are not implemented yet (and popup box, but that should not
part of the skin anymore). blue_round1 looks like before,
blue1_(big|small) has no view area right now, aubin_round1 is WIP and
the gray skin may be a problem, I have to think about it later. Set
OSD_SKIN to skins/dischi1/skin_dischi1.py to take a look.


Now about gui - skin interaction:

Right now, when we need a popup box, we draw it on the screen, call
DrawSkin later and the box is gone -- that's a bad design. My new skin
is working that stable, that Rob could integrate the new gui code into
freevo.

Rob: There is a new variable config.NEW_SKIN which is true when you
use my new skin. Just put "if config.NEW_SKIN" around parts you want
to add in the freevo code. And I need a list of things you want to
know from the skin settings. I'm thinking of background color, border
color, border size, radius of a round box and font information for one
or two different fonts. Maybe a button style too (color, font, border)?

And I need a way to know if there is any gui object visible. If the
skin got a draw and there is a gui object, the skin should remember "I
must redraw later". After the last gui object is gone, it should call
a function inside the skin so it could redraw if necessary.

More changes: right now we call osd.clearscreen some times in
freevo. That's bad. The drawskin after that won't work, because the
skin only updates changes and doesn't know about the clearscreen. I
will change all osd.clearscreen to skin.clearscreen so the skin knows
about it. I think it shouldn't be allowed for any parts except the
skin and the gui to use the osd functions (audio player and the image
viewer are apps, it's ok if they use osd).


My next steps:

1. when Rob says what the gui wants to know, I will add this to the
   xml files and write a function to give this informations to the gui
   code.

2. change all osd.clearscreen to skin.clearscreen (and a a clearscreen
   to the old skin)

3. finish porting all xml files to the new layout

4. document the skin xml files so everyone knows what is possible

5. mp3 player and tv support

6. extended menus



Dischi

-- 
Who the fuck is "General Failure", and why is he reading my disk?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to