Littluns

Littluns Commit Details

Date:2009-12-19 21:33:47 (3 years 5 months ago)
Author:Ciaran Gultnieks
Branch:master
Commit:36a23a7293e3a3c1b87d2bc73c901222db532c8d
Parents: e6979fcc560552c6697359a1160234124c5280b9
Message:Start in current screen resolution, not the first available one, since this fails on some machines

Changes:
MpyToddler.py (2 diffs)

File differences

pyToddler.py
2828
2929
3030
31
32
33
31
3432
3533
3634
......
4038
4139
4240
43
41
42
pygame.init()
flags = pygame.FULLSCREEN | pygame.NOFRAME
modes = pygame.display.list_modes(0,flags)
screen = pygame.display.set_mode(modes[0],flags)
screen=pygame.display.set_mode((0,0),pygame.FULLSCREEN)
pygame.display.set_caption('pyToddler')
pygame.mouse.set_visible(0)
MenuItem('mouse.png', CheeseActivity)
]
MenuActivity(screen, items).run()
MenuActivity(screen, items).run()

Archive Download the corresponding diff file

Branches