[Pychord-commits] r68 - / trunk/img trunk/pgui trunk/pychord2
danilo at garage.maemo.org
danilo at garage.maemo.org
Sun Mar 23 17:38:19 EET 2008
Author: danilo
Date: 2008-03-23 17:38:15 +0200 (Sun, 23 Mar 2008)
New Revision: 68
Modified:
gen.sh
trunk/img/i.png
trunk/pgui/locale.py
trunk/pychord2/window_show.py
Log:
- i.png changed
- FPS reduced to 20. There is no reason to it be greater.
TODO: Fix scrolling function to be more smoothed
Modified: gen.sh
===================================================================
--- gen.sh 2008-03-23 15:16:12 UTC (rev 67)
+++ gen.sh 2008-03-23 15:38:15 UTC (rev 68)
@@ -86,7 +86,7 @@
# write the control file
cat > control <<END
-Package: PyChord
+Package: pychord
Version: $VERSION
Section: user/others
Priority: optional
@@ -96,9 +96,6 @@
Maintainer: Danilo Cesar <danilocesar at danilocesar.com>
Description: An application to help musicians with song chords.
- This application have some features like
- auto-scroll
- Search Engine (sqlite)
END
# write the post-removal script
Modified: trunk/img/i.png
===================================================================
(Binary files differ)
Modified: trunk/pgui/locale.py
===================================================================
--- trunk/pgui/locale.py 2008-03-23 15:16:12 UTC (rev 67)
+++ trunk/pgui/locale.py 2008-03-23 15:38:15 UTC (rev 68)
@@ -1,5 +1,5 @@
#Windows Flags
-pguiMaxFPS = 30
+pguiMaxFPS = 20
Modified: trunk/pychord2/window_show.py
===================================================================
--- trunk/pychord2/window_show.py 2008-03-23 15:16:12 UTC (rev 67)
+++ trunk/pychord2/window_show.py 2008-03-23 15:38:15 UTC (rev 68)
@@ -45,10 +45,7 @@
btX = Ibutton(self,[730,10],"x.png")
btX.registerClickSlot(self.close)
self.addElement(btX)
-
-
-
btFF = Ibutton(self,[730,400],"ff.png")
btFF.registerPressedSlot(lst.increaseSpeed)
self.addElement(btFF)
@@ -83,15 +80,14 @@
window.update(self)
if ismaemo():
- # 9 seconds
- if self.backlight_count > self.fps * 9:
+ # 7 seconds
+ if self.backlight_count > self.fps * 7:
self.lights()
self.backlight_count = 0
else:
self.backlight_count += 1
def lights(self):
- print "lights!"
self.device.display_state_on()
def ismaemo():
More information about the Pychord-commits
mailing list