From 7e3ff67854e469ddfa7e6af51c904f403b3c4c77 Mon Sep 17 00:00:00 2001 From: rcoh Date: Sun, 13 Feb 2011 03:25:00 -0500 Subject: Note that y coordinates in Layout must be subtracted from 24 --- layouts/C5SignLayout.xml | 120 +++++++++++++++++++++++---------------------- layouts/SpecifiedLayout.py | 2 +- 2 files changed, 63 insertions(+), 59 deletions(-) (limited to 'layouts') diff --git a/layouts/C5SignLayout.xml b/layouts/C5SignLayout.xml index cd07f21..2424509 100644 --- a/layouts/C5SignLayout.xml +++ b/layouts/C5SignLayout.xml @@ -2,64 +2,68 @@ layouts.SpecifiedLayout - - - (2,22) - (2,16) - (2,10) - (2,4) - - (4, 2) - (10,2) - (16,2) - (22,2) - (27,2) - (33,2) - (39,2) - (44,2) - - (45,4) - (45,10) - (45,16) - (45,22) - - (44,22) - (39,22) - (34,22) - (27,22) - (22,22) - (16,22) - (10,22) - (4,22) - - (12,19) - (13,19) - (16,19) - (18,19) - (21,19) - (23,19) - (26,19) - (27,19) - (30,19) - (34,19) - (37,19) - - (31,12) - (26,12) - (24,14) - (17,16) - (21,14) - - (19,7) - (6,7) - (11,7) - (15,7) - (22,7) - (27,7) - (33,8) - (38,7) - (42,7) - (34,8) + strip1 + 50 + 12 + 12 + (2,22) + + + (2,16) + (2,10) + (2,4) + + (4, 2) + (10,2) + (16,2) + (22,2) + (27,2) + (33,2) + (39,2) + (44,2) + + (45,4) + (45,10) + (45,16) + (45,22) + + (44,22) + (39,22) + (34,22) + (27,22) + (22,22) + (16,22) + (10,22) + (4,22) + + (12,19) + (13,19) + (16,19) + (18,19) + (21,19) + (23,19) + (26,19) + (27,19) + (30,19) + (34,19) + (37,19) + + (31,12) + (26,12) + (24,14) + (17,16) + (21,14) + + (19,7) + (11,7) + (6,7) + (15,7) + (22,7) + (27,7) + (33,8) + (38,7) + (42,7) + (34,8) diff --git a/layouts/SpecifiedLayout.py b/layouts/SpecifiedLayout.py index 967a3d6..b746e68 100644 --- a/layouts/SpecifiedLayout.py +++ b/layouts/SpecifiedLayout.py @@ -12,7 +12,7 @@ class SpecifiedLayout(PixelAssembler): You may put attributes on the Locs so that you don't get confused. """ - def layoutInit(self): + def initLayout(self): self.lightNum = -1 def layoutFunc(self, lastLocation): -- cgit v1.2.3