Commit 59d6ab77 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: adapt fspanel layout to update time slider graphics

parent a62d8933
...@@ -115,6 +115,7 @@ Mac OS X Interface: ...@@ -115,6 +115,7 @@ Mac OS X Interface:
* add options to the Advanced Open File dialog for start and stop time * add options to the Advanced Open File dialog for start and stop time
* add an option to play videos as a desktop background * add an option to play videos as a desktop background
* add support for playing video and showing audio visualizations side by side * add support for playing video and showing audio visualizations side by side
* improve fullscreen controller time slider with larger click target
* The Streaming/Transcoding wizard and the open dialog's output panel are * The Streaming/Transcoding wizard and the open dialog's output panel are
deprecated now deprecated now
......
...@@ -419,9 +419,9 @@ ...@@ -419,9 +419,9 @@
/* time slider */ /* time slider */
s_rc = [self frame]; s_rc = [self frame];
s_rc.origin.x = 15; s_rc.origin.x = 15;
s_rc.origin.y = 55; s_rc.origin.y = 45;
s_rc.size.width = 518; s_rc.size.width = 518;
s_rc.size.height = 9; s_rc.size.height = 13;
o_fs_timeSlider = [[VLCFSTimeSlider alloc] initWithFrame: s_rc]; o_fs_timeSlider = [[VLCFSTimeSlider alloc] initWithFrame: s_rc];
[o_fs_timeSlider setMinValue:0]; [o_fs_timeSlider setMinValue:0];
[o_fs_timeSlider setMaxValue:10000]; [o_fs_timeSlider setMaxValue:10000];
...@@ -603,7 +603,7 @@ ...@@ -603,7 +603,7 @@
addImage(o_vol_sld_img, 26, 23, NSCompositeSourceOver); addImage(o_vol_sld_img, 26, 23, NSCompositeSourceOver);
addImage(o_vol_mute_img, 16, 18, NSCompositeSourceOver); addImage(o_vol_mute_img, 16, 18, NSCompositeSourceOver);
addImage(o_vol_max_img, 124, 18, NSCompositeSourceOver); addImage(o_vol_max_img, 124, 18, NSCompositeSourceOver);
addImage(o_time_sld_img, 15, 53, NSCompositeSourceOver); addImage(o_time_sld_img, 15, 45, NSCompositeSourceOver);
} }
@end @end
...@@ -634,7 +634,7 @@ ...@@ -634,7 +634,7 @@
[[NSGraphicsContext currentContext] restoreGraphicsState]; [[NSGraphicsContext currentContext] restoreGraphicsState];
NSRect knobRect = [[self cell] knobRectFlipped:NO]; NSRect knobRect = [[self cell] knobRectFlipped:NO];
knobRect.origin.y+=7.5; knobRect.origin.y+=4;
[[[NSColor blackColor] colorWithAlphaComponent:0.6] set]; [[[NSColor blackColor] colorWithAlphaComponent:0.6] set];
[self drawKnobInRect: knobRect]; [self drawKnobInRect: knobRect];
} }
......
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