[Pychord-commits] r59 - trunk/pgui

danilo at garage.maemo.org danilo at garage.maemo.org
Mon Mar 17 16:36:35 EET 2008


Author: danilo
Date: 2008-03-17 16:36:34 +0200 (Mon, 17 Mar 2008)
New Revision: 59

Modified:
   trunk/pgui/locale.py
   trunk/pgui/window.py
Log:
- APP FPS now is a locale variable

Modified: trunk/pgui/locale.py
===================================================================
--- trunk/pgui/locale.py	2008-03-17 13:06:54 UTC (rev 58)
+++ trunk/pgui/locale.py	2008-03-17 14:36:34 UTC (rev 59)
@@ -1,3 +1,8 @@
+#Windows Flags
+pguiMaxFPS = 30
+
+
+
 pguiEXIT = 1
 
 
@@ -16,11 +21,9 @@
 pguiOnKeyPress = 3
 
 #List Widget
-pguiListMaximumSpeed = 20
+pguiListMaximumSpeed = pguiMaxFPS
 
 
 
 #THEME OPTIONS
 pguiDefFontSize = 40 # Default FontSize
-
-

Modified: trunk/pgui/window.py
===================================================================
--- trunk/pgui/window.py	2008-03-17 13:06:54 UTC (rev 58)
+++ trunk/pgui/window.py	2008-03-17 14:36:34 UTC (rev 59)
@@ -1,4 +1,5 @@
 from container import *
+from pgui.locale import *
 
 
 from pygame.time   import Clock
@@ -28,7 +29,7 @@
         
         self.clock = Clock()
         
-        self.fps = 20
+        self.fps = pguiMaxFPS
         
         
         self.mousePressed = False



More information about the Pychord-commits mailing list