>From what I've seen, no, it doesn't do this at all. All skin objects are positioned by hard-coded pixel-oriented parameters. In other words, if you want something to be shown at 300 pixels from the left and 180 from the top, you set the X and Y values to put it there.
As I said in my previous note, I'm suggesting that skin object positioning be handled as _percentages_ of screen area rather than actual hard values. For example, we want a watermark of 256x256 pixels in the bottom right of an 800x600 screen. We could set the values directly (x=544 y=344 width=256 height=256) _OR_ we use a percentage to express placement relative to the size of the screen (x=68% y=57% width=32% height=42%). Yes, I'm aware this wouldn't exactly render a square watermark on a 16:9 monitor, but you get the idea. I'll work out the exact math to compensate for the 4:3 -> 16:9 differences when I get a chance. Any questions??? --- Hasan Khalil <[EMAIL PROTECTED]> wrote: > > On Aug 18, 2007, at 00:05, Michael Beal wrote: > > > Also, since I don't have such a keen understanding of how PyGame > and > > the skins.py module interact yet, could someone figure out a way to > > make the skins module self-adapting? The module should be able to > > > take > > the screen size from freevo.conf and then calculate the positions > of > > the various screen areas and object placement from there. > > > Isn't this what the skinning engine is already supposed to do, > assuming that you set your resolution value correctly in your .conf? > > -Hasan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel