Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST2
-rw-r--r--physics.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 1f5dcc4..e23f49c 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -294,3 +294,5 @@ lib/Elements-0.13-py2.5.egg
lib/pkg_resources.py
activity/application-x-physics-project.svg
activity/mimetypes.xml
+standardcursor.xbm
+standardcursor_mask.xbm
diff --git a/physics.py b/physics.py
index 6a1399b..21d3beb 100644
--- a/physics.py
+++ b/physics.py
@@ -49,6 +49,9 @@ class PhysicsGame:
# set up static environment
self.world.add.ground()
+
+ a, b, c, d = pygame.cursors.load_xbm("standardcursor.xbm", "standardcursor_mask.xbm")
+ pygame.mouse.set_cursor(a, b, c, d)
def run(self):
self.running = True