Re: [MacRuby-devel] Progress Indicator

2011-04-14 Thread Daniel Westendorf
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 wrote: > I wrote a sample for something like that... I just c

Re: [MacRuby-devel] Progress Indicator

2011-04-14 Thread Daniel Westendorf
Thanks Matt! dw On Wed, Apr 13, 2011 at 10:43 PM, Matt Aimonetti 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/downl

Re: [MacRuby-devel] Progress Indicator

2011-04-13 Thread Matt Aimonetti
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/download_and_progress_indicator/lib/application.rb Hopefully that will help you get start

[MacRuby-devel] Progress Indicator

2011-04-13 Thread Daniel Westendorf
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