Mercurial > code > home > repos > light9
diff light8/rsn.py @ 102:e04f7b552bcd
- scroll wheel works everywhere
- scroll wheel works everywhere
- interface is white on black
- subs that start scenes are white
- more status information, startup process kinda cleaned up
author | dmcc |
---|---|
date | Sun, 14 Jul 2002 08:01:24 +0000 |
parents | a995fd1a8f03 |
children | afbdae5e1359 |
line wrap: on
line diff
--- a/light8/rsn.py Sun Jul 14 02:44:27 2002 +0000 +++ b/light8/rsn.py Sun Jul 14 08:01:24 2002 +0000 @@ -10,11 +10,11 @@ if len(sys.argv) >= 2: DUMMY = 0 - print "This is the real thing, baby" + print "Light 8.8: This is the real thing, baby" window_title = "Light 8.8 (On Air)" else: DUMMY = 1 - print "Dummy mode" + print "Light 8.8: Dummy mode" window_title = "Light 8.8 (Bogus)" root = Tk() @@ -22,12 +22,15 @@ root.wm_geometry('+462+470') root.tk_focusFollowsMouse() + parportdmx = io.ParportDMX() if not DUMMY: # this turns the parportdmx from dummy to live + print "Light 8.8: Preparing DMX interface..." parportdmx.golive() +print "Light 8.8: And this...is Mr. Lightboard" mr_lightboard = Lightboard(root,parportdmx,DUMMY) # root.tk_setPalette('gray40') @@ -36,6 +39,7 @@ # # start net slider server in separate thread # +print "Light 8.8: External input server spawned" import ExternalInput, thread thread.start_new_thread(ExternalInput.start_server,()) @@ -44,6 +48,7 @@ root.bind_class("all","<ButtonPress-4>",lambda ev: eventtoparent(ev,"<ButtonPress-4>")) root.bind_class("all","<ButtonPress-5>",lambda ev: eventtoparent(ev,"<ButtonPress-5>")) +print 'Light 8.8: "Uh...Shiny McShine?"' root.mainloop() # Receiver switches main #import profile