- y_offset = (
- INFO_SIZE[1] - hint.surface.get_rect().height - BIT_SIZE[1]
- - 2)
- self.surface.blit(hint.surface, (INFO_LEFT_PADDING, y_offset))
-
- def prepare_action(self, choice, action, y_offset):
+ y_offset = (INFO_SIZE[1] - hint.surface.get_rect().height
+ - BIT_SIZE[1] - 2)
+ self.surface.blit(hint.surface, pos())
+
+ # Game mode (puzzle, easy, standard, hard, etc ...)
+ game_mode = TextBoxWidget(
+ (0, 0), "UNKNOWN", padding=4, centre=True,
+ colour=PALETTE.WHITE, border=2,
+ bg_colour=PALETTE.BLACK, border_colour=PALETTE.BLUE,
+ box_width=box_width)
+ game_mode.prepare()
+
+ y_offset = (INFO_SIZE[1] - BIT_SIZE[1] + 12)
+ self.surface.blit(game_mode.surface, pos())
+
+ def prepare_action(self, choice, action, y_offset, box_width):