vlc | branch: master | Felix Paul Kühne <[email protected]> | Thu Mar 21 
16:59:36 2013 +0100| [748e7339cd025dbf0d297a16cb9ea2a029e7db61] | committer: 
Felix Paul Kühne

macosx: resize the retina bitmaps for the progressions knobs so AppKit doesn't 
do stupid things

This prevents the knob to be blurred in the bright interface style because the 
retina bitmap wasn't twice as large as the regular one

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=748e7339cd025dbf0d297a16cb9ea2a029e7db61
---

 extras/package/macosx/Resources/mainwindow/[email protected]  |  Bin 
3028 -> 3053 bytes
 .../macosx/Resources/mainwindow_dark/[email protected]   |  Bin 
1035 -> 2073 bytes
 modules/gui/macosx/misc.m                                           |    3 +--
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/extras/package/macosx/Resources/mainwindow/[email protected] 
b/extras/package/macosx/Resources/mainwindow/[email protected]
index a633e4b..153d9c3 100644
Binary files 
a/extras/package/macosx/Resources/mainwindow/[email protected] and 
b/extras/package/macosx/Resources/mainwindow/[email protected] differ
diff --git 
a/extras/package/macosx/Resources/mainwindow_dark/[email protected] 
b/extras/package/macosx/Resources/mainwindow_dark/[email protected]
index 7df78e8..543bc89 100644
Binary files 
a/extras/package/macosx/Resources/mainwindow_dark/[email protected] 
and 
b/extras/package/macosx/Resources/mainwindow_dark/[email protected] 
differ
diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 3389249..62779b1 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -499,8 +499,7 @@ void _drawFrameInRect(NSRect frameRect)
     [[NSGraphicsContext currentContext] restoreGraphicsState];
 
     NSRect knobRect = [[self cell] knobRectFlipped:NO];
-    if (b_dark)
-        knobRect.origin.y+=2;
+    knobRect.origin.y+=1;
     [self drawKnobInRect: knobRect];
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to