Michael Beal wrote: > So, how about adding the widescreen formats as possible autodetected > defaults in Freevo. It seems more folks are using that sort of layout > than even _I_ thought!!! > > 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. I'm thinking > that, by using _percentages_ rather than hard coded values, skins could > be made to adapt to the users screen size. Thus, we wouldn't have a > preset or fixed screen geometry to have to build skins within. A skin > created in 800x600 would still look great in 1440x900. Fonts would > also have to resize according to the screen height percentage.
Not having actually developed a skin, but played around _a lot_ with the skin module code recently, what you are describing is already there. Not with percentages but by using the ratio of the skin design size (normally 800x600) with the actual screen size. I think this is actually better than percentages as it is easier to conceptualize. > For example, we'll assume all skins are devised for an 800x600 > environment. 1440x900 is 1.8 times wider and 1.333 times taller giving > a lot more screen real estate to draw on. If we place the main menu > listing box at the 10%x10% position, we land at 80x60 on an 800x600 > screen and 144x90 on a 1440x900 screen. By doing things this way, we > end up with a more "anamorphic" set up that takes the entire screen > into consideration and not just the view area images. > The problem with this is that 'proper' 16:9 TV provide more screen real estate which can be used to display other details (like Hasan's skin). What would be good is to extend the current skin file to provide any number of aspect ratio layouts and then the skin module pick the one closest. I also think that an author and description section would be a good addition. Cheers Adam ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
