From e032ebcf43bee1ecbd635fedecddbe575b867ab2 Mon Sep 17 00:00:00 2001 From: rob Date: Sun, 21 Dec 2008 21:54:57 +0000 Subject: [PATCH] update README --- README | 3 ++ sc3ctrl.xcodeproj/rfw21.pbxuser | 77 ++++++++++++++++++++++++++- sc3ctrl.xcodeproj/rfw21.perspectivev3 | 13 +++-- supercollider/SC3Controller.sc | 30 +++++------ 4 files changed, 101 insertions(+), 22 deletions(-) diff --git a/README b/README index c60c16b..6900d4e 100644 --- a/README +++ b/README @@ -25,6 +25,9 @@ SuperCollider3.app in OSX. Consists of a small CoreFoundation bundle written in Objective-C and a single SuperCollider class. +Binary: http://www.trapdoor1.net/sc3/sc3ctrl.tar.gz +(as yet untested on anything other than 10.5) + Source code: http://github.com/rfwatson/sc3ctrl diff --git a/sc3ctrl.xcodeproj/rfw21.pbxuser b/sc3ctrl.xcodeproj/rfw21.pbxuser index 5a449a7..6d9d30d 100644 --- a/sc3ctrl.xcodeproj/rfw21.pbxuser +++ b/sc3ctrl.xcodeproj/rfw21.pbxuser @@ -431,6 +431,12 @@ 567167F80EFEEC780047EA2B /* PBXTextBookmark */ = 567167F80EFEEC780047EA2B /* PBXTextBookmark */; 567167FA0EFEEDAA0047EA2B /* PBXTextBookmark */ = 567167FA0EFEEDAA0047EA2B /* PBXTextBookmark */; 567167FB0EFEEDAA0047EA2B /* PBXTextBookmark */ = 567167FB0EFEEDAA0047EA2B /* PBXTextBookmark */; + 567167FE0EFEF2A50047EA2B /* PBXTextBookmark */ = 567167FE0EFEF2A50047EA2B /* PBXTextBookmark */; + 567167FF0EFEF2A50047EA2B /* PBXTextBookmark */ = 567167FF0EFEF2A50047EA2B /* PBXTextBookmark */; + 567168000EFEF2A50047EA2B /* PBXTextBookmark */ = 567168000EFEF2A50047EA2B /* PBXTextBookmark */; + 567168010EFEF2A50047EA2B /* PBXTextBookmark */ = 567168010EFEF2A50047EA2B /* PBXTextBookmark */; + 567168020EFEF2A50047EA2B /* PBXTextBookmark */ = 567168020EFEF2A50047EA2B /* PBXTextBookmark */; + 567168030EFEF2A50047EA2B /* PBXTextBookmark */ = 567168030EFEF2A50047EA2B /* PBXTextBookmark */; }; sourceControlManager = 567161F90EFD3E860047EA2B /* Source Control */; userBuildSettings = { @@ -2718,6 +2724,13 @@ vrLen = 813; vrLoc = 1606; }; + 567167630EFECFD80047EA2B /* SC3Controller.sc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1412, 2240}}"; + sepNavSelRange = "{3479, 0}"; + sepNavVisRange = "{2659, 820}"; + }; + }; 567167660EFECFE10047EA2B /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 567166710EFEAFC10047EA2B /* SC3Controller.m */; @@ -2740,9 +2753,9 @@ }; 5671676A0EFEDC650047EA2B /* README */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {1412, 1072}}"; + sepNavIntBoundsRect = "{{0, 0}, {1412, 1104}}"; sepNavSelRange = "{968, 0}"; - sepNavVisRange = "{856, 957}"; + sepNavVisRange = "{443, 992}"; }; }; 5671676D0EFEDC740047EA2B /* PBXTextBookmark */ = { @@ -3773,6 +3786,66 @@ vrLen = 420; vrLoc = 0; }; + 567167FE0EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 567167630EFECFD80047EA2B /* SC3Controller.sc */; + name = "SC3Controller.sc: 140"; + rLen = 0; + rLoc = 3479; + rType = 0; + vrLen = 820; + vrLoc = 2659; + }; + 567167FF0EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 5671676A0EFEDC650047EA2B /* README */; + name = "README: 25"; + rLen = 0; + rLoc = 968; + rType = 0; + vrLen = 957; + vrLoc = 856; + }; + 567168000EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 5671676A0EFEDC650047EA2B /* README */; + name = "README: 25"; + rLen = 0; + rLoc = 968; + rType = 0; + vrLen = 957; + vrLoc = 856; + }; + 567168010EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 567167630EFECFD80047EA2B /* SC3Controller.sc */; + name = "SC3Controller.sc: 140"; + rLen = 0; + rLoc = 3479; + rType = 0; + vrLen = 820; + vrLoc = 2659; + }; + 567168020EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 5671676A0EFEDC650047EA2B /* README */; + name = "README: 25"; + rLen = 0; + rLoc = 968; + rType = 0; + vrLen = 992; + vrLoc = 443; + }; + 567168030EFEF2A50047EA2B /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 567167760EFEDCB50047EA2B /* install.rb */; + name = "install.rb: 14"; + rLen = 0; + rLoc = 400; + rType = 0; + vrLen = 420; + vrLoc = 0; + }; 8DD76F960486AA7600D96B5E /* sc3ctrl */ = { activeExec = 0; executables = ( diff --git a/sc3ctrl.xcodeproj/rfw21.perspectivev3 b/sc3ctrl.xcodeproj/rfw21.perspectivev3 index 9448088..07dbdee 100644 --- a/sc3ctrl.xcodeproj/rfw21.perspectivev3 +++ b/sc3ctrl.xcodeproj/rfw21.perspectivev3 @@ -216,7 +216,7 @@ _historyCapacity 0 bookmark - 567167FB0EFEEDAA0047EA2B + 567168030EFEF2A50047EA2B history 567167AA0EFEE3560047EA2B @@ -272,6 +272,8 @@ Layout + BecomeActive + ContentConfiguration PBXBottomSmartGroupGIDs @@ -357,8 +359,6 @@ Dock - BecomeActive - ContentConfiguration PBXProjectModuleGUID @@ -376,7 +376,7 @@ _historyCapacity 0 bookmark - 567167FA0EFEEDAA0047EA2B + 567168020EFEF2A50047EA2B history 567164430EFE8E370047EA2B @@ -388,7 +388,8 @@ 567167960EFEE0EC0047EA2B 567167D00EFEEA010047EA2B 567167F50EFEEC780047EA2B - 567167A60EFEE3560047EA2B + 567167FE0EFEF2A50047EA2B + 567167FF0EFEF2A50047EA2B prevStack @@ -480,6 +481,8 @@ 567167A80EFEE3560047EA2B 567167D20EFEEA010047EA2B 567167F60EFEEC780047EA2B + 567168000EFEF2A50047EA2B + 567168010EFEF2A50047EA2B SplitCount diff --git a/supercollider/SC3Controller.sc b/supercollider/SC3Controller.sc index f2c66c8..eaf151f 100644 --- a/supercollider/SC3Controller.sc +++ b/supercollider/SC3Controller.sc @@ -3,6 +3,21 @@ SC3Controller { classvar nodes; + *initClass { + var postToFront; + nodes = List[]; + + Platform.case(\osx) { + postToFront = { + Document.listener.front; + }; + + StartUp.add { + this.addListeners; + } + } + } + *addListeners { var node; if(nodes.isEmpty) { @@ -64,21 +79,6 @@ SC3Controller { nodes.do(_.remove); } - *initClass { - var postToFront; - nodes = List[]; - - Platform.case(\osx) { - postToFront = { - Document.listener.front; - }; - - StartUp.add { - this.addListeners; - } - } - } - // adapated from Kernel.sc *methodTemplates { |name| var out, found = 0, namestring;