Files
@ 2af6698b0566
Branch filter:
Location: light9/light8/rsn.py - annotation
2af6698b0566
869 B
text/x-python
pulled Lightboard out of rsn.py (and fixed all the dependency problems i could find)
pulled Lightboard out of rsn.py (and fixed all the dependency problems i could find)
made some exceptions print better
pulled Lightboard out of rsn.py (and fixed all the dependency problems i could find)
made some exceptions print better
f974a462133f 45b12307c695 45b12307c695 71489bb71528 f974a462133f 3cbe7110d8f7 3cbe7110d8f7 f974a462133f 7adc65771676 7adc65771676 7adc65771676 f974a462133f 2443de5df9c5 71489bb71528 7adc65771676 2af6698b0566 2af6698b0566 2af6698b0566 2af6698b0566 2af6698b0566 45b12307c695 45b12307c695 45b12307c695 f974a462133f 45b12307c695 45b12307c695 45b12307c695 f974a462133f 45b12307c695 45b12307c695 45b12307c695 45b12307c695 e9d2e7754fd9 6284a812da50 f974a462133f 45b12307c695 f595fdd4c548 f974a462133f 2af6698b0566 f974a462133f 219d6fcbc28d 219d6fcbc28d f974a462133f f974a462133f | #!/usr/bin/env python
from __future__ import nested_scopes
from Tix import *
from time import sleep
from signal import signal, SIGINT
import sys, cPickle
import io
from uihelpers import *
from panels import *
from Xfader import *
from subediting import Subediting
from Fader import Fader
import stage
from Lightboard import Lightboard
import Subs, Patch
if len(sys.argv) >= 2:
DUMMY = 0
print "This is the real thing, baby"
window_title = "Light 8.8 (On Air)"
else:
DUMMY = 1
print "Dummy mode"
window_title = "Light 8.8 (Bogus)"
root = Tk()
root.wm_title(window_title)
root.wm_geometry('+462+470')
root.tk_focusFollowsMouse()
parportdmx = io.ParportDMX(DUMMY)
mr_lightboard = Lightboard(root,parportdmx,DUMMY)
signal(SIGINT, mr_lightboard.quit)
bindkeys(root,'<Escape>', mr_lightboard.quit)
root.mainloop() # Receiver switches main
|