Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-12-02 12:34:37 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2009-12-02 12:34:37 (GMT)
commit9496c552eae8f2b2d1d349254f5ede2df3f7132e (patch)
tree9722c9fceb0829f520f1187435288fea2343b241
parent47d731fd154f8f4db78a1543e0990fd01e0d5d5e (diff)
Kite game WIP
-rw-r--r--kitegame.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kitegame.py b/kitegame.py
index 912c913..cd4bcf8 100644
--- a/kitegame.py
+++ b/kitegame.py
@@ -434,7 +434,7 @@ class KiteGame(gtk.VBox):
layout.set_markup("<span size='x-large'>" + self.text[:50] + "</span>")
size = layout.get_size()
x = 0
- y = int(self.bounds.height*0.5 - size[1]/pango.SCALE)
+ y = int(self.bounds.height*0.25 - size[1]/pango.SCALE)
self.area.queue_draw_area(
x, y, self.bounds.width, self.bounds.height)
@@ -443,7 +443,7 @@ class KiteGame(gtk.VBox):
layout.set_markup("<span size='x-large'>" + self.text[:50] + "</span>")
size = layout.get_size()
x = int(self.bounds.width*0.25)
- y = int(self.bounds.height*0.5 - size[1]/pango.SCALE)
+ y = int(self.bounds.height*0.25 - size[1]/pango.SCALE)
gc.foreground = self.area.get_colormap().alloc_color(65535,65535,65535)
self.area.window.draw_rectangle(gc, True, 0, y, self.bounds.width, size[1]/pango.SCALE+10)