Mercurial > mamba
comparison mamba/habitats/editor.py @ 103:45397addd80d
Make image button behave a bit more like text button
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 11 Sep 2011 19:50:58 +0200 |
parents | aba653f8383e |
children | c5d6d0ba3b2b |
comparison
equal
deleted
inserted
replaced
102:59ccbc1539db | 103:45397addd80d |
---|---|
60 button_height += tilesetname.surface.get_height() + button_padding | 60 button_height += tilesetname.surface.get_height() + button_padding |
61 floor_button = ImageButtonWidget( | 61 floor_button = ImageButtonWidget( |
62 (button_left, button_height), self.level.tileset.floor, | 62 (button_left, button_height), self.level.tileset.floor, |
63 'Floor', color='white') | 63 'Floor', color='white') |
64 self.container.add(floor_button) | 64 self.container.add(floor_button) |
65 | |
66 | |
67 | |
68 | |
69 |