Mercurial > boomslang
comparison tools/rect_drawer.py @ 550:53cc4049fb30 pyntnclick
Rename imports in rect_drawer
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 11 Feb 2012 13:22:21 +0200 |
parents | d1b86d5849a0 |
children | 1b1ab71535bd |
comparison
equal
deleted
inserted
replaced
549:098ea4ea0d0d | 550:53cc4049fb30 |
---|---|
17 from pygame.locals import (K_LEFT, K_RIGHT, K_UP, K_DOWN, | 17 from pygame.locals import (K_LEFT, K_RIGHT, K_UP, K_DOWN, |
18 K_a, K_t, K_d, K_i, K_r, K_o, K_b, K_z, | 18 K_a, K_t, K_d, K_i, K_r, K_o, K_b, K_z, |
19 BLEND_RGBA_MIN, SRCALPHA) | 19 BLEND_RGBA_MIN, SRCALPHA) |
20 import pygame | 20 import pygame |
21 | 21 |
22 from gamelib import constants | 22 from pyntnclick import constants |
23 constants.DEBUG = True | 23 constants.DEBUG = True |
24 MENU_WIDTH = 200 | 24 MENU_WIDTH = 200 |
25 MENU_BUTTON_HEIGHT = 25 | 25 MENU_BUTTON_HEIGHT = 25 |
26 ZOOM = 4 | 26 ZOOM = 4 |
27 ZOOM_STEP = 100 | 27 ZOOM_STEP = 100 |
28 | 28 |
29 from gamelib import state | 29 from pyntnclick import state |
30 state.DEBUG_RECTS = True | 30 state.DEBUG_RECTS = True |
31 from gamelib.widgets import BoomLabel | 31 from pyntnclick.widgets import BoomLabel |
32 | 32 |
33 | 33 |
34 class AppPalette(PaletteView): | 34 class AppPalette(PaletteView): |
35 | 35 |
36 sel_width = 5 | 36 sel_width = 5 |