Hi,

I create a special skin area 'plugin' where plugisn are allowed to
draw. This area covers the whole screen and you can't activate or
deactivate this area in the xml file.

A plugin with a draw() function (like idlebar) now gets this area as
parameter in it's draw() function. I called it osd in the idlebar, but
it's not osd.OSD, it's the area (so you must use the areas draw
functions). By that the idlebar always redraws all the stuff (even the
background) and the skin takes care if this object has to be redrawn
or not.

All the idlebar plugins are also updated. They are drawn based on the
'level' in plugin.activate. By changing the levels, you can rearrange
the items in the bar (and you don't get a hole when you don't load a
plugin). Exception: the clock always draws itself at the right side,
you can't change that. 

Limitations: some stuff is still hardcoded, e.g. the sizes. If you
have a small resolution, there is space for fewer items. Some items
need fonts (clock, wheater). They take the font 'weather' and 'clock'
from the skin. If they are not defined (like now), they take the
deafult font. 


Dischi

-- 
Bad spellers of the world Untie!


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to