[vlc-commits] macosx: set the splitview divider to 60% gray instead of black to fit most default apps
Felix Paul Kühne
git at videolan.org
Sun Sep 4 19:37:40 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Sep 4 19:02:36 2011 +0200| [c5f9ea13f6f81b734d9db6caead08c1d82d85cc0] | committer: Felix Paul Kühne
macosx: set the splitview divider to 60% gray instead of black to fit most default apps
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5f9ea13f6f81b734d9db6caead08c1d82d85cc0
---
modules/gui/macosx/misc.m | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 32dc7cc..1d50068 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -702,13 +702,13 @@ void _drawFrameInRect(NSRect frameRect)
*/
- (NSColor *)dividerColor
{
- return [NSColor blackColor];
+ 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.
*/
- (CGFloat)dividerThickness
{
- return 0.01;
+ return .01;
}
@end
More information about the vlc-commits
mailing list