Skip to content

Commit

Permalink
more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
danpalmer committed Aug 23, 2012
1 parent 06217ad commit bb0fd41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 78 deletions.
2 changes: 1 addition & 1 deletion DJSwitchControl/SwitchControl/DJSwitchControl.m
Expand Up @@ -169,7 +169,7 @@ - (void)setupLayers {
[rootLayer setName:DJSwitchControlLayerRoot];
[rootLayer setCornerRadius:CONTROL_CORNER_RADIUS];
//[rootLayer setBorderWidth:1.0];
[rootLayer setBorderColor:[[NSColor blackColor] CGColor]];
[rootLayer setBorderColor:[[NSColor colorWithCalibratedRed:0.0000 green:0.0000 blue:0.0000 alpha:0.2000] CGColor]];
[rootLayer setFrame:CGRectMake(0, 0, CONTROL_WIDTH, CONTROL_HEIGHT)];
[rootLayer setMasksToBounds:YES];
[rootLayer setDelegate:self];
Expand Down
88 changes: 11 additions & 77 deletions DJSwitchControl/en.lproj/MainMenu.xib
Expand Up @@ -11,13 +11,11 @@
<string key="NS.object.0">1938</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>NSCustomView</string>
<string>NSWindowTemplate</string>
<string>NSView</string>
<string>NSMenu</string>
<string>NSWindowTemplate</string>
<string>NSMenuItem</string>
<string>NSTextField</string>
<string>NSTextFieldCell</string>
<string>NSCustomView</string>
<string>NSCustomObject</string>
</array>
<array key="IBDocument.PluginDependencies">
Expand Down Expand Up @@ -1295,77 +1293,37 @@
<object class="NSWindowTemplate" id="972006081">
<int key="NSWindowStyleMask">15</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{335, 390}, {120, 95}}</string>
<string key="NSWindowRect">{{335, 390}, {120, 70}}</string>
<int key="NSWTFlags">1954021376</int>
<string key="NSWindowTitle">DJSwitchControl</string>
<string key="NSWindowTitle"/>
<string key="NSWindowClass">NSWindow</string>
<nil key="NSViewClass"/>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{120, 95}</string>
<string key="NSWindowContentMinSize">{120, 95}</string>
<string key="NSWindowContentMaxSize">{120, 70}</string>
<string key="NSWindowContentMinSize">{120, 70}</string>
<object class="NSView" key="NSWindowView" id="439893737">
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="NSCustomView" id="434725162">
<reference key="NSNextResponder" ref="439893737"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{20, 45}, {80, 30}}</string>
<string key="NSFrame">{{20, 20}, {80, 30}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="965477834"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:1192</string>
<string key="NSClassName">DJSwitchControl</string>
</object>
<object class="NSTextField" id="965477834">
<reference key="NSNextResponder" ref="439893737"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{17, 20}, {86, 17}}</string>
<reference key="NSSuperview" ref="439893737"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:3944</string>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="774881546">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">138413056</int>
<string key="NSContents">Off</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">13</double>
<int key="NSfFlags">1044</int>
</object>
<string key="NSCellIdentifier">_NS:3944</string>
<reference key="NSControlView" ref="965477834"/>
<object class="NSColor" key="NSBackgroundColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlTextColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
</object>
</object>
</object>
</array>
<string key="NSFrameSize">{120, 95}</string>
<string key="NSFrameSize">{120, 70}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="434725162"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
<string key="NSMinSize">{120, 117}</string>
<string key="NSMaxSize">{120, 117}</string>
<string key="NSMinSize">{120, 92}</string>
<string key="NSMaxSize">{120, 92}</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSCustomObject" id="976324537">
Expand Down Expand Up @@ -2065,14 +2023,6 @@
</object>
<int key="connectionID">540</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">label</string>
<reference key="source" ref="976324537"/>
<reference key="destination" ref="965477834"/>
</object>
<int key="connectionID">539</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
Expand Down Expand Up @@ -2599,7 +2549,6 @@
<reference key="object" ref="439893737"/>
<array class="NSMutableArray" key="children">
<reference ref="434725162"/>
<reference ref="965477834"/>
</array>
<reference key="parent" ref="972006081"/>
</object>
Expand Down Expand Up @@ -3081,19 +3030,6 @@
<reference key="object" ref="434725162"/>
<reference key="parent" ref="439893737"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">537</int>
<reference key="object" ref="965477834"/>
<array class="NSMutableArray" key="children">
<reference ref="774881546"/>
</array>
<reference key="parent" ref="439893737"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">538</int>
<reference key="object" ref="774881546"/>
<reference key="parent" ref="965477834"/>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
Expand Down Expand Up @@ -3238,8 +3174,6 @@
<string key="517.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="534.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="536.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="537.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="538.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="56.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="57.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
Expand Down

0 comments on commit bb0fd41

Please sign in to comment.