From: <di...@us...> - 2002-09-25 18:54:35
|
Update of /cvsroot/freevo/freevo/skins/xml/type1 In directory usw-pr-cvs1:/tmp/cvs-serv27718/type1 Modified Files: 640x480.xml 768x576.xml 800x600.xml xml_skin.py Log Message: Changed the <cover> style to <covers> and <cover type=""/>. Added border_size and border_color to cover Index: 640x480.xml =================================================================== RCS file: /cvsroot/freevo/freevo/skins/xml/type1/640x480.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** 640x480.xml 24 Sep 2002 02:46:02 -0000 1.5 --- 640x480.xml 25 Sep 2002 18:54:32 -0000 1.6 *************** *** 63,71 **** </items> ! <cover> ! <movie visible="yes" x="400" y="80" width="200" height="280"/> ! <music visible="yes" x="400" y="80" width="200" height="200"/> ! <image visible="yes" x="400" y="80" width="200" height="160"/> ! </cover> <submenu x="40" y="430"> --- 63,74 ---- </items> ! <covers> ! <cover type="movie" visible="yes" x="400" y="80" width="200" ! height="280" border_color="0x000000" border_size="1"/> ! <cover type="music" visible="yes" x="400" y="80" width="200" ! height="200" border_color="0x000000" border_size="1"/> ! <cover type="image" visible="yes" x="400" y="80" width="200" ! height="160" border_color="0x000000" border_size="1"/> ! </covers> <submenu x="40" y="430"> Index: 768x576.xml =================================================================== RCS file: /cvsroot/freevo/freevo/skins/xml/type1/768x576.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** 768x576.xml 24 Sep 2002 02:46:02 -0000 1.9 --- 768x576.xml 25 Sep 2002 18:54:32 -0000 1.10 *************** *** 63,71 **** </items> ! <cover> ! <movie visible="yes" x="538" y="100" width="200" height="280"/> ! <music visible="yes" x="538" y="100" width="200" height="200"/> ! <image visible="yes" x="538" y="100" width="200" height="160"/> ! </cover> <submenu x="40" y="500"> --- 63,74 ---- </items> ! <covers> ! <cover type="movie" visible="yes" x="538" y="100" width="200" ! height="280" border_color="0x000000" border_size="1"/> ! <cover type="music" visible="yes" x="538" y="100" width="200" ! height="200" border_color="0x000000" border_size="1"/> ! <cover type="image" visible="yes" x="538" y="100" width="200" ! height="160" border_color="0x000000" border_size="1"/> ! </covers> <submenu x="40" y="500"> Index: 800x600.xml =================================================================== RCS file: /cvsroot/freevo/freevo/skins/xml/type1/800x600.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** 800x600.xml 24 Sep 2002 02:46:02 -0000 1.7 --- 800x600.xml 25 Sep 2002 18:54:32 -0000 1.8 *************** *** 64,72 **** </items> ! <cover> ! <movie visible="yes" x="538" y="100" width="200" height="280"/> ! <music visible="yes" x="538" y="100" width="200" height="200"/> ! <image visible="yes" x="538" y="100" width="200" height="160"/> ! </cover> <submenu x="40" y="520"> --- 64,75 ---- </items> ! <covers> ! <cover type="movie" visible="yes" x="538" y="100" width="200" ! height="280" border_color="0x000000" border_size="1"/> ! <cover type="music" visible="yes" x="538" y="100" width="200" ! height="200" border_color="0x000000" border_size="1"/> ! <cover type="image" visible="yes" x="538" y="100" width="200" ! height="160" border_color="0x000000" border_size="1"/> ! </covers> <submenu x="40" y="520"> Index: xml_skin.py =================================================================== RCS file: /cvsroot/freevo/freevo/skins/xml/type1/xml_skin.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** xml_skin.py 23 Sep 2002 18:59:00 -0000 1.9 --- xml_skin.py 25 Sep 2002 18:54:32 -0000 1.10 *************** *** 10,13 **** --- 10,17 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.10 2002/09/25 18:54:32 dischi + # Changed the <cover> style to <covers> and <cover type=""/>. Added + # border_size and border_color to cover + # # Revision 1.9 2002/09/23 18:59:00 dischi # Added alignment to font, some cleanups in xml_skin.py *************** *** 298,312 **** self.parseItems(node, self.menu.items, copy_content) ! elif node.name == u'cover': for subnode in node.children: ! if subnode.name == u'movie': if copy_content: self.menu.cover_movie = copy.copy(self.menu.cover_movie) self.parse_node(subnode, self.menu.cover_movie) ! if subnode.name == u'music': if copy_content: self.menu.cover_music = copy.copy(self.menu.cover_music) self.parse_node(subnode, self.menu.cover_music) ! if subnode.name == u'image': if copy_content: self.menu.cover_image = copy.copy(self.menu.cover_image) --- 302,318 ---- self.parseItems(node, self.menu.items, copy_content) ! elif node.name == u'covers': for subnode in node.children: ! type = self.attr_str(subnode, "type", "") ! ! if type == u'movie': if copy_content: self.menu.cover_movie = copy.copy(self.menu.cover_movie) self.parse_node(subnode, self.menu.cover_movie) ! if type == u'music': if copy_content: self.menu.cover_music = copy.copy(self.menu.cover_music) self.parse_node(subnode, self.menu.cover_music) ! if type == u'image': if copy_content: self.menu.cover_image = copy.copy(self.menu.cover_image) |