Mercurial > rinkhals
comparison gamelib/cursors.py @ 258:d564ae258471
Add sell xbm cursor.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 13:11:55 +0000 |
parents | bca2f4396de8 |
children | cade64404997 |
comparison
equal
deleted
inserted
replaced
257:fcaae2cfe3cd | 258:d564ae258471 |
---|---|
10 'select' : pygame.cursors.broken_x, | 10 'select' : pygame.cursors.broken_x, |
11 } | 11 } |
12 | 12 |
13 for tag, filename in [ | 13 for tag, filename in [ |
14 ('chicken', 'cursors/chkn.xbm'), | 14 ('chicken', 'cursors/chkn.xbm'), |
15 ('sell', 'cursors/sell_cursor.xbm'), | |
15 ]: | 16 ]: |
16 path = data.filepath(filename) | 17 path = data.filepath(filename) |
17 # pygame 1.8 needs the file twice to do the right thing | 18 # pygame 1.8 needs the file twice to do the right thing |
18 # XXX: check behaviour with pygame 1.9 | 19 # XXX: check behaviour with pygame 1.9 |
19 cursors[tag] = pygame.cursors.load_xbm(path, path) | 20 cursors[tag] = pygame.cursors.load_xbm(path, path) |