Re: First instance of plugin controls all other instances?
Re: First instance of plugin controls all other instances?
- Subject: Re: First instance of plugin controls all other instances?
- From: Artemiy Pavlov <email@hidden>
- Date: Wed, 2 Feb 2011 16:24:58 +0200
On 2 Feb 2011, at 15:47, Olivier Tristan wrote:
static declared datas ?
When I track the mouse movements, I store the calculated control
values in variables which are global to all view's methods.
A quick and dirty example:
Float32 ControlValue;
-(void)drawRect{
// draw something according to ControlValue
}
-(void)mouseDragged{
ControlValue = ... // calculated from mouse location.x/location.y
[super setNeedsDisplay:YES];
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden