I actually went ended up subclassing NSView for a very basic progress indicator that supports clicks to advance the progress. Find my example here: https://gist.github.com/921125 Daniel On Wed, Apr 13, 2011 at 10:43 PM, Matt Aimonetti <mattaimonetti@gmail.com>wrote:
I wrote a sample for something like that... I just can't remember where I put it... Ok, I found it, it was an old hotcocoa example:
https://github.com/MacRuby/MacRuby/blob/tags%2F0.5b2/sample-macruby/HotCocoa...
Hopefully that will help you get started.
- Matt
On Wed, Apr 13, 2011 at 9:03 PM, Daniel Westendorf <daniel@prowestech.com>wrote:
Hi all,
I want to display a progress indicator (slider looking thing) when playing media, similar to what you would see in iTunes or QuickTime. It will need to update as the media plays. I'm at a bit of a loss on how to go about this in terms of the UI. I've thought about subclassing NSSlider and adding the tweaks there, but maybe there is a better solution? Can someone point me in the right direction?
Thanks for the help,
Daniel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel