comparison gamelib/toolbar.py @ 594:7581c2fe1498 1.5.x

Merge r598 from trunk.
author Simon Cross <hodgestar@gmail.com>
date Sat, 28 Nov 2009 23:46:36 +0000
parents 1356875ce686
children
comparison
equal deleted inserted replaced
591:6b21b2140262 594:7581c2fe1498
120 def show_prices(self): 120 def show_prices(self):
121 """Popup dialog of prices""" 121 """Popup dialog of prices"""
122 122
123 tbl = gui.Table() 123 tbl = gui.Table()
124 tbl.tr() 124 tbl.tr()
125 doc = gui.Document(width=510) 125 doc = gui.Document(width=540)
126 space = doc.style.font.size(" ") 126 space = doc.style.font.size(" ")
127 for header in ['Item', 'Buy Price', 'Sell Price', 'Repair Price']: 127 for header in ['Item', 'Buy Price', 'Sell Price', 'Repair Price']:
128 doc.add(misc.make_box("<b>%s</b>" % header, markup=True)) 128 doc.add(misc.make_box("<b>%s</b>" % header, markup=True))
129 doc.br(space[1]) 129 doc.br(space[1])
130 for building in buildings.BUILDINGS: 130 for building in buildings.BUILDINGS: