Commit 0a34f87b authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: slim the split view divider and turn it black

parent d4ab1bba
......@@ -2,23 +2,23 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">10K549</string>
<string key="IBDocument.SystemVersion">11C48</string>
<string key="IBDocument.InterfaceBuilderVersion">851</string>
<string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<string key="IBDocument.AppKitVersion">1138.18</string>
<string key="IBDocument.HIToolboxVersion">567.00</string>
<dictionary class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="com.apple.InterfaceBuilder.CocoaPlugin">851</string>
<string key="com.binarymethod.BGHUDAppKitPlugin">1</string>
</dictionary>
<array class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<integer value="2730"/>
<integer value="4596"/>
<integer value="21"/>
<integer value="4722"/>
<integer value="915"/>
<integer value="1617"/>
<integer value="4681"/>
<integer value="915"/>
<integer value="283"/>
<integer value="235"/>
<integer value="4722"/>
<integer value="4596"/>
<integer value="2730"/>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
......@@ -46,7 +46,8 @@
<string key="NSWindowTitle">VLC media player</string>
<string key="NSWindowClass">VLCMainWindow</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSWindowContentMinSize">{400, 288}</string>
<object class="NSView" key="NSWindowView" id="429932428">
<reference key="NSNextResponder"/>
......@@ -156,7 +157,7 @@
<object class="NSFont" key="NSSupport" id="188716167">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">10</double>
<int key="NSfFlags">2843</int>
<int key="NSfFlags">2832</int>
</object>
<reference key="NSControlView" ref="809192538"/>
<int key="NSButtonFlags">138674431</int>
......@@ -371,7 +372,7 @@
<object class="NSFont" key="NSSupport" id="841513812">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">13</double>
<int key="NSfFlags">1044</int>
<int key="NSfFlags">1040</int>
</object>
<reference key="NSControlView" ref="291209196"/>
<int key="NSButtonFlags">138690815</int>
......@@ -663,7 +664,7 @@
<object class="NSOutlineView" id="1064884668">
<reference key="NSNextResponder" ref="18556274"/>
<int key="NSvFlags">4352</int>
<string key="NSFrameSize">{120, 272}</string>
<string key="NSFrameSize">{121, 272}</string>
<reference key="NSSuperview" ref="18556274"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
......@@ -674,7 +675,7 @@
</object>
<array class="NSMutableArray" key="NSTableColumns">
<object class="NSTableColumn" id="291003631">
<double key="NSWidth">117</double>
<double key="NSWidth">118</double>
<double key="NSMinWidth">16</double>
<double key="NSMaxWidth">1000</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
......@@ -684,7 +685,7 @@
<object class="NSFont" key="NSSupport" id="26">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<int key="NSfFlags">3100</int>
<int key="NSfFlags">3088</int>
</object>
<object class="NSColor" key="NSBackgroundColor">
<int key="NSColorSpace">3</int>
......@@ -738,8 +739,13 @@
<string key="NSCatalogName">System</string>
<string key="NSColorName">_sourceListBackgroundColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">alternateSelectedControlColor</string>
<object class="NSColor" key="NSColor" id="829159933">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC44MzkyMTU2OTU5IDAuODY2NjY2Njc0NiAwLjg5ODAzOTIyMTgAA</bytes>
<bytes key="NSRGB">MCAwIDEAA</bytes>
</object>
</object>
</object>
<object class="NSColor" key="NSGridColor" id="756174976">
......@@ -761,10 +767,11 @@
<bool key="NSAllowsTypeSelect">YES</bool>
<int key="NSTableViewSelectionHighlightStyle">1</int>
<int key="NSTableViewDraggingDestinationStyle">1</int>
<int key="NSTableViewGroupRowStyle">1</int>
<float key="NSOutlineViewIndentationPerLevelKey">14</float>
</object>
</array>
<string key="NSFrame">{{1, 1}, {120, 272}}</string>
<string key="NSFrame">{{1, 1}, {121, 272}}</string>
<reference key="NSSuperview" ref="979766179"/>
<reference key="NSNextKeyView" ref="1064884668"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
......@@ -777,7 +784,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{198, 17}, {15, 539}}</string>
<reference key="NSSuperview" ref="979766179"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTarget" ref="979766179"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">0.99824869999999999</double>
......@@ -787,18 +793,17 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{-100, -100}, {212, 15}}</string>
<reference key="NSSuperview" ref="979766179"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="979766179"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">0.9953052</double>
</object>
</array>
<string key="NSFrameSize">{122, 274}</string>
<string key="NSFrameSize">{123, 274}</string>
<reference key="NSSuperview" ref="824340487"/>
<reference key="NSNextKeyView" ref="18556274"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">530</int>
<int key="NSsFlags">133650</int>
<reference key="NSVScroller" ref="252983915"/>
<reference key="NSHScroller" ref="11557666"/>
<reference key="NSContentView" ref="18556274"/>
......@@ -913,11 +918,10 @@
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="23448837"/>
</object>
<object class="_NSCornerView" key="NSCornerView" id="904345331">
<reference key="NSNextResponder" ref="915491793"/>
<object class="_NSCornerView" key="NSCornerView">
<nil key="NSNextResponder"/>
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{-26, 0}, {16, 17}}</string>
<reference key="NSSuperview" ref="915491793"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
</object>
<array class="NSMutableArray" key="NSTableColumns">
......@@ -1037,7 +1041,7 @@
<reference key="NSBackgroundColor" ref="885475112"/>
<reference key="NSGridColor" ref="756174976"/>
<double key="NSRowHeight">15</double>
<int key="NSTvFlags">-608174080</int>
<int key="NSTvFlags">-71303168</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<string key="NSAutosaveName">10thaniversary-mainPlaylistView</string>
......@@ -1047,6 +1051,7 @@
<int key="NSDraggingSourceMaskForNonLocal">0</int>
<bool key="NSAllowsTypeSelect">YES</bool>
<int key="NSTableViewDraggingDestinationStyle">0</int>
<int key="NSTableViewGroupRowStyle">1</int>
<reference key="NSOutlineViewOutlineTableColumnKey" ref="965199398"/>
</object>
</array>
......@@ -1063,7 +1068,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{560, 17}, {15, 18}}</string>
<reference key="NSSuperview" ref="915491793"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTarget" ref="915491793"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">0.54545460000000001</double>
......@@ -1071,9 +1075,8 @@
<object class="NSScroller" id="297523533">
<reference key="NSNextResponder" ref="915491793"/>
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{1, 233}, {315.758, 15}}</string>
<string key="NSFrame">{{1, 233}, {315.75799999999998, 15}}</string>
<reference key="NSSuperview" ref="915491793"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="915491793"/>
<string key="NSAction">_doScroller:</string>
......@@ -1093,18 +1096,16 @@
<reference key="NSBGColor" ref="885475112"/>
<int key="NScvFlags">4</int>
</object>
<reference ref="904345331"/>
</array>
<string key="NSFrameSize">{482, 254}</string>
<reference key="NSSuperview" ref="440594360"/>
<reference key="NSNextKeyView" ref="343242432"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">562</int>
<int key="NSsFlags">133682</int>
<reference key="NSVScroller" ref="573737110"/>
<reference key="NSHScroller" ref="297523533"/>
<reference key="NSContentView" ref="343242432"/>
<reference key="NSHeaderClipView" ref="576307303"/>
<reference key="NSCornerView" ref="904345331"/>
<bytes key="NSScrollAmts">QSAAAEEgAABBiAAAQYgAAA</bytes>
</object>
<object class="NSImageView" id="447614808">
......@@ -1169,10 +1170,11 @@
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{400, 310}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSFrameAutosaveName">mainwindow</string>
<bool key="NSAutorecalculatesContentBorderThicknessMinY">NO</bool>
<bool key="NSAutorecalculatesContentBorderThicknessMaxY">NO</bool>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSMenu" id="782168084">
<string key="NSTitle">MainMenu</string>
......@@ -2532,7 +2534,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSWindowContentMinSize">{599, 368}</string>
<object class="NSView" key="NSWindowView" id="584094047">
<reference key="NSNextResponder"/>
......@@ -2640,16 +2643,15 @@
</dictionary>
<reference key="NSInsertionColor" ref="563235091"/>
<dictionary key="NSLinkAttributes">
<object class="NSColor" key="NSColor" id="829159933">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDEAA</bytes>
</object>
<reference key="NSColor" ref="829159933"/>
<integer value="1" key="NSUnderline"/>
</dictionary>
<nil key="NSDefaultParagraphStyle"/>
<nil key="NSTextFinder"/>
<int key="NSPreferredTextFinderStyle">1</int>
</object>
<int key="NSTVFlags">6</int>
<string key="NSMaxSize">{1116, 1e+07}</string>
<string key="NSMaxSize">{1116, 10000000}</string>
<string key="NSMinize">{114, 0}</string>
<nil key="NSDelegate"/>
</object>
......@@ -2690,7 +2692,7 @@
<string key="NSFrame">{{20, 44}, {559, 304}}</string>
<reference key="NSSuperview" ref="584094047"/>
<reference key="NSNextKeyView" ref="374521922"/>
<int key="NSsFlags">530</int>
<int key="NSsFlags">133650</int>
<reference key="NSVScroller" ref="658731325"/>
<reference key="NSHScroller" ref="487661939"/>
<reference key="NSContentView" ref="374521922"/>
......@@ -2724,8 +2726,9 @@
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{599, 384}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSFrameAutosaveName">messages</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSMenu" id="966937735">
<string key="NSTitle">Menu</string>
......@@ -2967,7 +2970,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<object class="NSView" key="NSWindowView" id="500944643">
<nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
......@@ -2985,7 +2989,7 @@
<object class="NSFont" key="NSSupport" id="103182952">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">13</double>
<int key="NSfFlags">2072</int>
<int key="NSfFlags">2064</int>
</object>
<reference key="NSControlView" ref="855729941"/>
<reference key="NSBackgroundColor" ref="3414043"/>
......@@ -3092,7 +3096,8 @@
<string key="NSFrameSize">{249, 103}</string>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSCustomView" id="356649608">
<nil key="NSNextResponder"/>
......@@ -3334,7 +3339,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<object class="NSView" key="NSWindowView" id="985395477">
<nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
......@@ -3683,7 +3689,8 @@
<string key="NSFrameSize">{549, 87}</string>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSWindowTemplate" id="747974943">
<int key="NSWindowStyleMask">9</int>
......@@ -3695,7 +3702,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<object class="NSView" key="NSWindowView" id="366395044">
<nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
......@@ -3810,9 +3818,11 @@ LCAuLi4</string>
<integer value="1" key="NSUnderline"/>
</dictionary>
<nil key="NSDefaultParagraphStyle"/>
<nil key="NSTextFinder"/>
<int key="NSPreferredTextFinderStyle">1</int>
</object>
<int key="NSTVFlags">6</int>
<string key="NSMaxSize">{998, 1e+07}</string>
<string key="NSMaxSize">{998, 10000000}</string>
<string key="NSMinize">{497, 0}</string>
<nil key="NSDelegate"/>
</object>
......@@ -3849,7 +3859,7 @@ LCAuLi4</string>
<string key="NSFrame">{{92, 96}, {500, 104}}</string>
<reference key="NSSuperview" ref="366395044"/>
<reference key="NSNextKeyView" ref="1059447005"/>
<int key="NSsFlags">530</int>
<int key="NSsFlags">133650</int>
<reference key="NSVScroller" ref="444566474"/>
<reference key="NSHScroller" ref="599664251"/>
<reference key="NSContentView" ref="1059447005"/>
......@@ -3939,7 +3949,8 @@ LCAuLi4</string>
<string key="NSFrameSize">{612, 324}</string>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<bool key="NSWindowIsRestorable">YES</bool>
</object>
<object class="NSCustomObject" id="1040926652">
<string key="NSClassName">SUUpdater</string>
......@@ -3951,7 +3962,7 @@ LCAuLi4</string>
<object class="NSTextField" id="103751139">
<reference key="NSNextResponder" ref="560875128"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{227, 35}, {62.7969, 18}}</string>
<string key="NSFrame">{{227, 35}, {62.796900000000001, 18}}</string>
<reference key="NSSuperview" ref="560875128"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="385075814">
......@@ -4046,7 +4057,7 @@ LCAuLi4</string>
<object class="NSTextField" id="754695396">
<reference key="NSNextResponder" ref="560875128"/>
<int key="NSvFlags">265</int>
<string key="NSFrame">{{210.902, 19}, {79.0977, 14}}</string>
<string key="NSFrame">{{210.90199999999999, 19}, {79.097700000000003, 14}}</string>
<reference key="NSSuperview" ref="560875128"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="908114002">
......@@ -4062,7 +4073,7 @@ LCAuLi4</string>
<object class="NSTextField" id="421148087">
<reference key="NSNextResponder" ref="560875128"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{27, 19}, {76.9648, 14}}</string>
<string key="NSFrame">{{27, 19}, {76.964799999999997, 14}}</string>
<reference key="NSSuperview" ref="560875128"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="647762012">
......@@ -10249,6 +10260,7 @@ LCAuLi4</string>
</object>
<boolean value="YES" key="4671.ImportedFromIB2"/>
<string key="4672.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="4680.CustomClassName">VLCMainWindowSplitView</string>
<string key="4680.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSAffineTransform" key="4680.IBViewBoundsToFrameTransform">
<bytes key="NSTransformStruct">P4AAAL+AAAAAAAAAw5oAAA</bytes>
......@@ -12227,6 +12239,24 @@ LCAuLi4</string>
</object>
</array>
<array class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
<object class="IBPartialClassDescription">
<string key="className">ITSlider</string>
<string key="superclassName">NSSlider</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="44299995">
<string key="majorKey">IBDocumentRelativeSource</string>
<string key="minorKey">../../../../../modules/gui/macosx/misc.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">TimeLineSlider</string>
<string key="superclassName">NSSlider</string>
<reference key="sourceIdentifier" ref="44299995"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLBrushedMetalImageView</string>
<string key="superclassName">NSImageView</string>
<reference key="sourceIdentifier" ref="44299995"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCApplication</string>
<string key="superclassName">NSApplication</string>
......@@ -12235,6 +12265,11 @@ LCAuLi4</string>
<string key="minorKey">../../../../../modules/gui/macosx/intf.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCControllerView</string>
<string key="superclassName">NSView</string>
<reference key="sourceIdentifier" ref="44299995"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCControls</string>
<string key="superclassName">NSObject</string>
......@@ -13659,11 +13694,21 @@ LCAuLi4</string>
<string key="minorKey">../../../../../modules/gui/macosx/MainWindow.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCMainWindowSplitView</string>
<string key="superclassName">NSSplitView</string>
<reference key="sourceIdentifier" ref="44299995"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCProgressBarGradientEffect</string>
<string key="superclassName">NSView</string>
<reference key="sourceIdentifier" ref="736371707"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCTimeField</string>
<string key="superclassName">NSTextField</string>
<reference key="sourceIdentifier" ref="44299995"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">VLCVoutView</string>
<string key="superclassName">NSView</string>
......
......@@ -149,3 +149,12 @@
}
- (BOOL)timeRemaining;
@end
/*****************************************************************************
* VLCMainWindowSplitView interface
*****************************************************************************/
@interface VLCMainWindowSplitView : NSSplitView
{
}
@end
......@@ -692,3 +692,23 @@ void _drawFrameInRect(NSRect frameRect)
return [[NSUserDefaults standardUserDefaults] boolForKey:@"DisplayTimeAsTimeRemaining"];
}
@end
/*****************************************************************************
* VLCMainWindowSplitView implementation
* comments taken from NSSplitView.h (10.7 SDK)
*****************************************************************************/
@implementation VLCMainWindowSplitView : NSSplitView
/* Return the color of the dividers that the split view is drawing between subviews. The default implementation of this method returns [NSColor clearColor] for the thick divider style. It will also return [NSColor clearColor] for the thin divider style when the split view is in a textured window. All other thin dividers are drawn with a color that looks good between two white panes. You can override this method to change the color of dividers.
*/
- (NSColor *)dividerColor
{
return [NSColor blackColor];
}
/* Return the thickness of the dividers that the split view is drawing between subviews. The default implementation returns a value that depends on the divider style. You can override this method to change the size of dividers.
*/
- (CGFloat)dividerThickness
{
return 0.01;
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment