Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-05-06 23:17:14 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-05-06 23:17:14 (GMT)
commit00a33961baf489f192eecd6593f40f48b6e749c2 (patch)
tree12f99a8ca600c0c76bbc5f91bea9783c3a99e915
add first file
-rw-r--r--main.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..ee6cd05
--- /dev/null
+++ b/main.py
@@ -0,0 +1,27 @@
+
+
+
+import pygame
+
+self.screen = pygame.display.set_mode((1200, 900))
+
+
+pygame.draw.rect(self.captura_to_show, (0,0,255), (p[0]*self.c1, p[1]*self.c2, 5, 5), 5)
+
+self.display.fill((84, 185, 72))
+
+pygame.display.flip()
+
+
+class Main:
+
+ def __init__(self, parent):
+
+
+ run = True
+ while run:
+ while gtk.events_pending():
+ gtk.main_iteration()
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ run = False