X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=2a9b50f78ea4a612ddb269f9eb330e9e0c0be7d6;hb=b3db4400695249420f5f941744c2a2692a1bad98;hp=2f9331169284415cb2875de7c43c829d1ca971f7;hpb=0f233e6d450d863f06f5acddee3bd94f53594d08;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)