Mercurial > boomslang
diff pyntnclick/tools/rect_drawer.py @ 636:2748d3afcae5 pyntnclick
Excise albow. Really.
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 12 Feb 2012 00:10:17 +0200 |
parents | ebc48b397fd5 |
children | b2c2b6f56291 |
line wrap: on
line diff
--- a/pyntnclick/tools/rect_drawer.py Sun Feb 12 00:01:03 2012 +0200 +++ b/pyntnclick/tools/rect_drawer.py Sun Feb 12 00:10:17 2012 +0200 @@ -4,16 +4,23 @@ import sys import os.path -script_path = os.path.realpath(os.path.dirname(os.path.dirname(__file__))) -sys.path.append(script_path) +# XXX: Threw away albow +#from albow.root import RootWidget +#from albow.utils import frame_rect +#from albow.widget import Widget +#from albow.controls import Button, Image +#from albow.palette_view import PaletteView +#from albow.file_dialogs import request_old_filename +#from albow.resource import get_font +RootWidget = object +frame_rect = None +Widget = object +Button = object +Image = object +PaletteView = object +request_old_filename = None +get_font = None -from albow.root import RootWidget -from albow.utils import frame_rect -from albow.widget import Widget -from albow.controls import Button, Image -from albow.palette_view import PaletteView -from albow.file_dialogs import request_old_filename -from albow.resource import get_font from pygame.locals import (K_LEFT, K_RIGHT, K_UP, K_DOWN, K_a, K_t, K_d, K_i, K_r, K_o, K_b, K_z, BLEND_RGBA_MIN, SRCALPHA)