[Pychord-commits] r62 - trunk/pychord2
danilo at garage.maemo.org
danilo at garage.maemo.org
Sun Mar 23 00:05:49 EET 2008
Author: danilo
Date: 2008-03-23 00:05:49 +0200 (Sun, 23 Mar 2008)
New Revision: 62
Modified:
trunk/pychord2/chordlist.py
trunk/pychord2/window_search.py
Log:
- Fixing font size again!
- Adding a advise on opensong actions, cause the device hangs a little bit.
Modified: trunk/pychord2/chordlist.py
===================================================================
--- trunk/pychord2/chordlist.py 2008-03-22 22:01:13 UTC (rev 61)
+++ trunk/pychord2/chordlist.py 2008-03-22 22:05:49 UTC (rev 62)
@@ -5,7 +5,7 @@
class chordlist (list):
def __init__(self, father, position, text = [],
- ptsize = 30, width = 700, height = 480,
+ ptsize = 25, width = 700, height = 480,
bsize = 1):
list.__init__(self, father, position, text, 'font/VeraMono.ttf',
Modified: trunk/pychord2/window_search.py
===================================================================
--- trunk/pychord2/window_search.py 2008-03-22 22:01:13 UTC (rev 61)
+++ trunk/pychord2/window_search.py 2008-03-22 22:05:49 UTC (rev 62)
@@ -15,6 +15,10 @@
# creating window
window.__init__(self, None, screen )
+ uplabel = label(self,[300,200],"Opening Song", ptsize = 40, bgcolor = (255,0,0))
+ uplabel.draw(self.screen)
+ pygame.display.flip()
+
# Put something in the screen
# while sqlite search by the keyword
# When it finish, clean the event list
@@ -39,7 +43,7 @@
lblSearch = label(self, [10,10],"Searching", ptsize = 40)
self.addElement(lblSearch)
- lst = list(self, [10,60], width=700, height=400, ptsize=35) # creating the widget
+ lst = list(self, [10,60], width=700, height=400, ptsize=40) # creating the widget
lst.setBackground((10,10,10))
self.addElement(lst)
More information about the Pychord-commits
mailing list