[MacRuby-devel] Progress Indicator
Daniel Westendorf
daniel at prowestech.com
Thu Apr 14 21:10:01 PDT 2011
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 at 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/download_and_progress_indicator/lib/application.rb
>
> Hopefully that will help you get started.
>
> - Matt
>
> On Wed, Apr 13, 2011 at 9:03 PM, Daniel Westendorf <daniel at 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 at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110414/ebf19af7/attachment-0001.html>
More information about the MacRuby-devel
mailing list