aboutsummaryrefslogtreecommitdiff
path: root/renderers
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-02 10:23:48 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-02 10:23:48 -0500
commitb02b461c2a6b94fa9b27d26bfa4918f39769363c (patch)
tree41b66b694594ee5b1b269de2c3b6d2ce33c3515d /renderers
parent93dfb8e3003b483c1041c6f7b4ff293935aeb7c0 (diff)
Changed default mode of xml merging to merge instead of replace. Added some syntactic sugar in xml
file -- attributes on Class-Level items will be automatically added to their args dict. This is designed for easy specification of Id etc. when you are Inheriting from another class.
Diffstat (limited to 'renderers')
-rw-r--r--renderers/Pygame.xml7
-rw-r--r--renderers/SixStripUDP.xml18
2 files changed, 25 insertions, 0 deletions
diff --git a/renderers/Pygame.xml b/renderers/Pygame.xml
new file mode 100644
index 0000000..e37739d
--- /dev/null
+++ b/renderers/Pygame.xml
@@ -0,0 +1,7 @@
+<Renderer>
+ <Class>renderers.PygameRenderer</Class>
+ <Args>
+ <Id>pygamerender</Id>
+ <displaySize>(1300,50)</displaySize>
+ </Args>
+</Renderer>
diff --git a/renderers/SixStripUDP.xml b/renderers/SixStripUDP.xml
new file mode 100644
index 0000000..f3c9e75
--- /dev/null
+++ b/renderers/SixStripUDP.xml
@@ -0,0 +1,18 @@
+<Renderer>
+ <Class>renderers.IndoorRenderer</Class>
+ <Args>
+ <Id>indoorRenderer</Id>
+ <PowerSupply>
+ <IP>10.31.255.233</IP>
+ <PortMapping>{'strip1':1, 'strip2':2}</PortMapping>
+ </PowerSupply>
+ <PowerSupply>
+ <IP>10.32.97.17</IP>
+ <PortMapping>{'strip3':1, 'strip4':2}</PortMapping>
+ </PowerSupply>
+ <PowerSupply>
+ <IP>10.32.96.211</IP>
+ <PortMapping>{'strip5':1, 'strip6':2}</PortMapping>
+ </PowerSupply>
+ </Args>
+</Renderer>