Re: Live feedback [Partly solved]
Re: Live feedback [Partly solved]
- Subject: Re: Live feedback [Partly solved]
- From: Jens Bauer <email@hidden>
- Date: Tue, 29 Oct 2002 17:50:48 +0100
Hi all,
I found out that I need to set the "Continous" flag as well, but
there's still something that I'd like to have improved.
As I'm moving an animation around, the animation stops when the mouse
button is held down; it's only animated when the mouse is moved.
Is there any way I can fix this ?
On Tuesday, Oct 29, 2002, at 17:34 Europe/Copenhagen, Jens Bauer wrote:
Hi all,
I've been wondering about how to do live-feedback on controls.
In Interface Builder, I set up a slider, which controls a view
containing the method "setBaseline".
- (IBAction)setBaseline:(id)sender
{
baseline = [sender floatValue];
}
Now, I have a drawRect method in my view as well. I've tried both..
[self setNeedsDisplay:YES];
..and..
[self display];
-but with no result.
Do I need to set a flag in the slider somewhere, to make this work ?
Love,
Jens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.