Brett Granger wrote:
> Is there an official (or any other) way in the 1.x tree for a plugin or 
> other piece of code to determine the properly scaled dimensions of a 
> skin area?  For example, the Plugin_Area class says "in this area all 
> plugins can draw," but how would a plugin go about finding out what the 
> x, y, width and height of that or any other area are?

Yes I came across this today :) mplayervis in src/audio/plugins has
exactly this at line 532. (rel-1 branch)

Using the DEBUG_SKIN=1 local_config.py option shows the names and extent
of the skin regions.

HTH
Duncan


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to