projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gamestate setup.
[naja.git]
/
naja
/
widgets
/
info_area.py
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index 2f9331169284415cb2875de7c43c829d1ca971f7..e0789ef47f45767f86b9b0e64358153b70b1257e 100644
(file)
--- a/
naja/widgets/info_area.py
+++ b/
naja/widgets/info_area.py
@@
-2,7
+2,9
@@
Widget for the game board information area.
"""
Widget for the game board information area.
"""
-from .base import Widget
+from naja.constants import INFO_SIZE
+
+from naja.widgets.base import Widget
class InfoAreaWidget(Widget):
class InfoAreaWidget(Widget):
@@
-10,10
+12,11
@@
class InfoAreaWidget(Widget):
Widget for the game board information area.
"""
def __init__(self, pos, image=None):
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):
def prepare(self):
pass
def draw(self, surface):
- surface.blit(self.surface, self.rect)
+ pass
+ #surface.blit(self.surface, self.rect)