Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/screen.py
diff options
context:
space:
mode:
Diffstat (limited to 'screen.py')
-rw-r--r--screen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/screen.py b/screen.py
index 64b3860..a818a5e 100644
--- a/screen.py
+++ b/screen.py
@@ -76,6 +76,12 @@ class ScreenFrame:
return True
return False
+ def move(self, dx, dy):
+ if self.joints:
+ for jname in self.joints:
+ (jx, jy) = self.joints[jname]
+ self.joints[jname] = (jx+dx, jy+dy)
+
def _initjoints():
joints = {}
for stickname in theme.JOINTS: