Mercurial > pyntnclick
diff gamelib/hand.py @ 70:213e47dea4d0
Funkier cursor handling
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Mon, 23 Aug 2010 20:54:04 +0200 |
parents | 4f9d412d83db |
children | c76f2fad2af5 |
line wrap: on
line diff
--- a/gamelib/hand.py Mon Aug 23 20:50:36 2010 +0200 +++ b/gamelib/hand.py Mon Aug 23 20:54:04 2010 +0200 @@ -1,6 +1,7 @@ # Button for the hand image from constants import BUTTON_SIZE +from cursor import CursorWidget from albow.controls import ImageButton from albow.resource import get_image @@ -8,7 +9,7 @@ from pygame.color import Color from pygame.rect import Rect -class HandButton(ImageButton): +class HandButton(ImageButton, CursorWidget): """The fancy hand button for the widget""" sel_colour = Color('red')