X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=2a9b50f78ea4a612ddb269f9eb330e9e0c0be7d6;hb=7ce9a5e2cbdc5a2dbdea5d000cad3e59628e9720;hp=2f9331169284415cb2875de7c43c829d1ca971f7;hpb=01008fbdb6fd368d2c6df854725d608d6a3fb0cc;p=naja.git diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 2f93311..2a9b50f 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -2,6 +2,8 @@ Widget for the game board information area. """ +from naja.constants import INFO_SIZE + from .base import Widget @@ -10,10 +12,11 @@ class InfoAreaWidget(Widget): Widget for the game board information area. """ def __init__(self, pos, image=None): - super(InfoAreaWidget, self).__init__(pos, (96, 96)) + super(InfoAreaWidget, self).__init__(pos, INFO_SIZE) def prepare(self): pass def draw(self, surface): - surface.blit(self.surface, self.rect) + pass + #surface.blit(self.surface, self.rect)