to Klaus Schmidinger's (Re: to use a current theme color in a plugin)

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

 



Klaus Schmidinger wrote:

> There is no way an arbitrary plugin could reasonably use any of the
> colors a skin has defined - it doesn't have any idea about what each
> color is actually used for!

Unless you define some standard names/ids that have always the same 
meaning (like "background colour", "selected text colour", "selected 
text background", "non selected text colour", etc.).
Obviously these would be skin/theme dependent but the plugin wouldn't 
need to know that, only ask vdr for the current "selected text colour", etc.

> 
> The only way a plugin might "blend in" usefully would be to open
> a cSkinDisplayMenu and draw some stuff into the "central area" of
> that menu. That way the "decorations" (like title, buttons etc)
> would be drawn in the skin specific way, while the actual content
> is up to the plugin to draw.

So if the plugin has to show some text/selection/etc. inside that area 
we're back to square one :-(

Bye
-- 
- Yo tambi?n quiero una Europa libre de Patentes de Software  -
- I want a Software Patents Free Europe too! And you?         -
---------------------------------------------------------------
   EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050219/295f26b1/signature.pgp

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux