Update of /cvsroot/freevo/freevo/skins/dischi1
In directory sc8-pr-cvs1:/tmp/cvs-serv21388

Modified Files:
        TODO blue2.xml skin_dischi1.py 
Log Message:
DISPLAY can now toggle between more than two styles. The video menu
has a 3rd style, all infos. Press DISPLAY two times on a video item
(should be a fxd file to see everything)


Index: TODO
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/TODO,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TODO        22 Mar 2003 20:08:30 -0000      1.4
--- TODO        22 Mar 2003 22:21:41 -0000      1.5
***************
*** 1,6 ****
  add indicators for tv items
  
- DISPLAY should toggle between more than two styles
- 
  fallback to text view if all images are the same
  
--- 1,4 ----

Index: blue2.xml
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/blue2.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** blue2.xml   22 Mar 2003 20:08:30 -0000      1.1
--- blue2.xml   22 Mar 2003 22:21:41 -0000      1.2
***************
*** 17,20 ****
--- 17,21 ----
        <style image="video menu with info"/>
        <style text="normal text style"/>
+       <style image="video details"/>
      </menu>
  
***************
*** 62,65 ****
--- 63,82 ----
      </menuset>
  
+     <!-- Now the "video details" (DISPLAY 3 for video)-->
+     <menuset label="video details">
+       <screen layout="screen0" x="0" y="0" width="800" height="600"/>
+       <title layout="title1" x="10" y="100" width="780" height="60"/>
+ 
+       <listing layout="video list" x="500" y="430" width="290" height="160">
+       <image label="uparrow" x="755" y="150" width="32" height="32"  
+         filename="../icons/AquaFusion/up.png"/>
+       <image label="downarrow" x="755" y="378" width="32" height="32"
+         filename="../icons/AquaFusion/down.png"/>
+       </listing>
+ 
+       <view layout="view0" x="545" y="150" width="200" height="300"/>
+       <info layout="video info" x="10" y="160" width="480" height="490"/>
+     </menuset>
+ 
      <layout label="title1">
        <content type="short item" font="title small" align="left"/>
***************
*** 88,91 ****
--- 105,126 ----
  
          @description@
+       </item>
+       <item type="dir">
+         Directory: [EMAIL PROTECTED]@
+       </item>
+       </content>
+     </layout>
+ 
+     <!-- info area -->
+     <layout label="video info">
+       <content x="0" y="0" type="text" spacing="20" font="default">
+       <item type="video">
+         @tagline@
+ 
+         @plot@
+ 
+         Genre:   [EMAIL PROTECTED]@
+         Rating:  [EMAIL PROTECTED]@
+         Runtime: [EMAIL PROTECTED]@
        </item>
        <item type="dir">

Index: skin_dischi1.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/skin_dischi1.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** skin_dischi1.py     22 Mar 2003 20:08:30 -0000      1.39
--- skin_dischi1.py     22 Mar 2003 22:21:41 -0000      1.40
***************
*** 10,13 ****
--- 10,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.40  2003/03/22 22:21:41  dischi
+ # DISPLAY can now toggle between more than two styles. The video menu
+ # has a 3rd style, all infos. Press DISPLAY two times on a video item
+ # (should be a fxd file to see everything)
+ #
  # Revision 1.39  2003/03/22 20:08:30  dischi
  # Lots of changes:
***************
*** 347,351 ****
          Toggle display style
          """
!         self.display_style = not self.display_style
          return 1
  
--- 352,369 ----
          Toggle display style
          """
!         if menu and menu.skin_settings:
!             settings = menu.skin_settings
!         else:
!             settings = self.settings
! 
!         # get the correct <menu>
!         if settings.menu.has_key(menu.item_types):
!             area = settings.menu[menu.item_types]
!         else:
!             area = settings.menu['default']
! 
!         if self.display_style >=  len(area.style):
!             self.display_style = 0
!         self.display_style = (self.display_style + 1) % len(area.style)
          return 1
  




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to