Trimming UI Further Developed
Posted May 18th, 2011 @ 03:16pm by Erik J. Barzeski
As a quick follow-up to yesterday's post, current plans are:
"Plan B" (Highly likely this is actually Plan A):
- Subclass NSSlider to add a second slider. (Alternative: create our own view rather than subclassing - not sure how difficult this is…)
- The sliders shouldn't be able to overlap. That'll enforce a "minimum" length, which is fine. Area outside of sliders shows as dark red.
- Dialog asks when the user clicks 'Trim Video…': "Are you sure you want to trim? The original video will be replaced by the trimmed video." Buttons are "Trim" and "Cancel"
The "Trim video" button should be disabled when the sliders are at the end positions.
Thoughts are welcome and appreciated. Have you seen a UI that has two sliders, or done it yourself, or know of a library or sample code? No sense re-making the wheel.
Posted 27 May 2011 at 4:16pm #
I have been using (and rather like the UI) in MPEG Streamclip. It may be of some use to you.
http://www.squared5.com/svideo/mpeg-streamclip-mac.html
Posted 27 May 2011 at 5:25pm #
Here's a slider with two knobs: http://developer.snowmintcs.com/controls/smdoubleslider/
I've never used it ... it's just what turned up in a google search.