/* change the accessibility help for the backward/forward buttons accordingly */
/* change the accessibility help for the backward/forward buttons accordingly */
[[o_bwd_btncell]accessibilitySetOverrideValue:_NS("Click to go to the previous playlist item. Hold to skip backward through the current media.")forAttribute:NSAccessibilityDescriptionAttribute];
[[o_bwd_btncell]accessibilitySetOverrideValue:_NS("Click to go to the previous playlist item. Hold to skip backward through the current media.")forAttribute:NSAccessibilityDescriptionAttribute];
...
@@ -663,26 +665,26 @@ else \
...
@@ -663,26 +665,26 @@ else \
NSRectframe;
NSRectframe;
frame=[o_bwd_btnframe];
frame=[o_bwd_btnframe];
frame.size.width--;
frame.size.width++;
[o_bwd_btnsetFrame:frame];
[o_bwd_btnsetFrame:frame];
frame=[o_fwd_btnframe];
frame=[o_fwd_btnframe];
frame.size.width--;
frame.size.width++;
[o_fwd_btnsetFrame:frame];
[o_fwd_btnsetFrame:frame];
floatf_space=29.;
#define moveItem(item) \
#define moveItem(item) \
frame = [item frame]; \
frame = [item frame]; \
frame.origin.x = frame.origin.x - f_space; \
frame.origin.x = frame.origin.x - f_space; \
if (b_fast) \
if (b_fast) \
[item setFrame: frame]; \
[item setFrame: frame]; \
else \
else \
[[item animator] setFrame: frame]
[[item animator] setFrame: frame]
floatf_space=29.;
moveItem(o_bwd_btn);
moveItem(o_bwd_btn);
moveItem(o_play_btn);
f_space=28.;
f_space=28.;
moveItem(o_play_btn);
moveItem(o_fwd_btn);
moveItem(o_fwd_btn);
f_space=57.;
f_space=28.*2;
moveItem(o_stop_btn);
moveItem(o_stop_btn);
moveItem(o_playlist_btn);
moveItem(o_playlist_btn);
moveItem(o_repeat_btn);
moveItem(o_repeat_btn);
...
@@ -804,6 +806,16 @@ else \
...
@@ -804,6 +806,16 @@ else \
[[VLCCoreInteractionsharedInstance]next];
[[VLCCoreInteractionsharedInstance]next];
}
}
// alternative actions for forward / backward buttons when next / prev are activated