Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv7484

Modified Files:
        main.py 
Log Message:
add overscan to cache name

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/main.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** main.py     5 Jan 2004 18:03:43 -0000       1.29
--- main.py     9 Jan 2004 20:04:18 -0000       1.30
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.30  2004/01/09 20:04:18  dischi
+ # add overscan to cache name
+ #
  # Revision 1.29  2004/01/05 18:03:43  dischi
  # support for extra fxd files for plugins
***************
*** 134,137 ****
--- 137,148 ----
  
  
+     def cachename(self, filename):
+         """
+         create cache name
+         """
+         return vfs.getoverlay('%s.skin-%sx%s-%s-%s' % (filename, osd.width, 
osd.height,
+                                                        config.OSD_OVERSCAN_X,
+                                                        config.OSD_OVERSCAN_Y))
+         
      def save_cache(self, settings, filename):
          """
***************
*** 139,143 ****
          for filename and this resolution
          """
!         cache = vfs.getoverlay('%s.skin-%sx%s' % (filename, osd.width, osd.height))
          if cache:
              # delete font object, because it can't be pickled
--- 150,154 ----
          for filename and this resolution
          """
!         cache = self.cachename(filename)
          if cache:
              # delete font object, because it can't be pickled
***************
*** 156,160 ****
          load a skin cache file
          """
!         cache = vfs.getoverlay('%s.skin-%sx%s' % (filename, osd.width, osd.height))
          if not cache:
              return None
--- 167,171 ----
          load a skin cache file
          """
!         cache = self.cachename(filename)
          if not cache:
              return None




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to