Commit ea98e1d2 authored by Marvin Scholz's avatar Marvin Scholz

macosx: Remove unnecessary comments in VLCMainWindowSplitView

The comments were copied from the macOS SDK header file and explain
what the functions do, which does not require such a long comment and
is detailed in Apples documentation of NSSplitView too.
parent 1d0379b4
......@@ -298,22 +298,21 @@
/*****************************************************************************
* VLCMainWindowSplitView implementation
* comment 1 + 2 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.
*/
// Custom color for the dividers
- (NSColor *)dividerColor
{
return [NSColor colorWithCalibratedRed:.60 green:.60 blue:.60 alpha:1.];
}
/* 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.
*/
// Custom thickness for the divider
- (CGFloat)dividerThickness
{
return 1.0;
}
@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