Advertisement
iful99

CANVAS2

Nov 10th, 2014
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from appuifw import app,Canvas
  2. from graphics import Image
  3. from e32 import Ao_lock as a0
  4.  
  5. def quit():lck.signal()
  6. app.exit_key_handler=quit
  7. app.screen='full'
  8. app.body=c=Canvas()
  9. ly=c.size
  10. im=Image.new(ly)
  11. def gambar():im.clear(0xff)
  12. gambar()
  13. c.blit(im)
  14. lck=a0()
  15. lck.wait()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement