Advertisement
iful99

CANVAS1

Nov 10th, 2014
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import appuifw
  2. import e32
  3. import graphics
  4. import sysinfo
  5.  
  6. def quit():
  7.   global run
  8.   run=0
  9.  
  10. appuifw.app.exit_key_handler=quit
  11. appuifw.app.screen='full'
  12. appuifw.app.body=c=appuifw.Canvas()
  13. sz=sysinfo.display_pixels()
  14. ly=graphics.Image.new(sz)
  15. run=1
  16. while run:
  17.   ly.clear(0xff)
  18.   c.blit(ly)
  19.   e32.ao_yield()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement