diff gamelib/toolbar.py @ 534:d16ed2a8a33e

Make price and control reference dialogs a little shinier.
author Simon Cross <hodgestar@gmail.com>
date Fri, 27 Nov 2009 22:12:20 +0000
parents 93eab01a1e57
children ec5276cfe98b
line wrap: on
line diff
--- a/gamelib/toolbar.py	Fri Nov 27 22:09:54 2009 +0000
+++ b/gamelib/toolbar.py	Fri Nov 27 22:12:20 2009 +0000
@@ -120,7 +120,7 @@
         doc = gui.Document(width=510)
         space = doc.style.font.size(" ")
         for header in ['Item', 'Buy Price', 'Sell Price', 'Repair Price']:
-            doc.add(misc.make_box(header))
+            doc.add(misc.make_box("<b>%s</b>" % header, markup=True))
         doc.br(space[1])
         for building in buildings.BUILDINGS:
             doc.add(misc.make_box(building.NAME))
@@ -175,7 +175,7 @@
         doc = gui.Document(width=610)
         space = doc.style.font.size(" ")
         for header in ['Action', 'Combination']:
-            doc.add(misc.make_box(header))
+            doc.add(misc.make_box("<b>%s</b>" % header, markup=True))
         doc.br(space[1])
         for command, combo in COMBOS:
             doc.add(misc.make_box(command))