Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/infopanel.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-07-12 20:45:24 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-07-12 20:45:24 (GMT)
commit8a2defe196f4f1d1edd7845ca871d58a57c717e1 (patch)
tree9244672f0969a47ab7dc509bac0427c51df5dfe4 /infopanel.py
parent1c2728aad09cf28fd194f20c01138fc53e0f4b68 (diff)
Started to merge the memosono game and the meorize game into one activity.
Diffstat (limited to 'infopanel.py')
-rw-r--r--infopanel.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/infopanel.py b/infopanel.py
deleted file mode 100644
index 95defa6..0000000
--- a/infopanel.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import hippo
-import pango
-from sugar.graphics import color
-
-class InfoPanel(hippo.CanvasBox):
- def __init__(self):
- hippo.CanvasBox.__init__(self, spacing=4, padding=5,
- orientation=hippo.ORIENTATION_VERTICAL)
- self.status_box = hippo.CanvasBox(spacing=4, padding=5,
- orientation=hippo.ORIENTATION_VERTICAL)
- self.append(self.status_box)
-
- def show(self, text):
- textwidget = hippo.CanvasText(text=text,
- font_desc=pango.FontDescription('Sans 16'),
- color=color.WHITE.get_int(),
- xalign=hippo.ALIGNMENT_CENTER)
- self.status_box.remove_all()
- self.status_box.append(textwidget)
-