From 3f81369e2f381dd4c929b75b366c5fdac817c81c Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Sat, 13 Apr 2013 08:30:58 +0000 Subject: sugarized icon --- diff --git a/activity/activity.info b/activity/activity.info index b7c4f5c..f218b92 100755 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,7 +1,7 @@ [Activity] name = Cells bundle_id = edu.centenary.CellManagement -icon = cellgame +icon = cellgame.sugar activity_version = 3 show_launcher = yes exec = sugar-activity activity.Activity diff --git a/activity/cellgame.sugar.svg b/activity/cellgame.sugar.svg new file mode 100644 index 0000000..77f7e8a --- /dev/null +++ b/activity/cellgame.sugar.svg @@ -0,0 +1,4 @@ + + +]>image/svg+xml \ No newline at end of file diff --git a/activity/cellgame.svg b/activity/cellgame.svg index 7056ff3..c37de78 100755 --- a/activity/cellgame.svg +++ b/activity/cellgame.svg @@ -1,5 +1,6 @@ + image/svg+xml - - - - - - - - - - - - - - - - \ No newline at end of file + id="metadata36">image/svg+xml \ No newline at end of file diff --git a/cells.py b/cells.py index 0e731db..af6367f 100755 --- a/cells.py +++ b/cells.py @@ -239,22 +239,23 @@ class Game(): self.flashing_text = Group((prompt_text)) def help(self): + t = 40 a = Text(_("Try and get 1 of species in the yellow escape area."), - size = int(50)) + size = t) b = Text(_("Click a cell to send the guard there."), - size = int(50)) + size = t) b.rect.top = a.rect.bottom + 1 c = Text(_("Prisoners can escape iff the adjacent hiding space is"), - size = int(50)) + size = t) c.rect.top = b.rect.bottom + 1 d = Text(' ' + _("red and empty or green and occupied."), - size = int(50)) + size = t) d.rect.top = c.rect.bottom + 1 e = Text(_("Hit 'Esc' to return to the menu."), - size = int(50)) + size = t) e.rect.top = d.rect.bottom + 1 f = Text(_("Press 'r' to reset the current game"), - size = int(50)) + size = t) f.rect.top = e.rect.bottom + 1 text = Group((a, b, c, d, e, f)) -- cgit v0.9.1