Thread: AAX and knobs
View Single Post
Old 04-18-2017, 03:34 AM   #15
Tunca
Human being with feelings
 
Join Date: Apr 2016
Posts: 264
Default

Quote:
Originally Posted by earlevel View Post
You need to change the two values 3 to 4. You have four values, not three.

>But getting error with OnParamChange section.Not accepting 'ratio' name.

I don't know what this means.
I'm writing this one;

Code:
IBitmap knob = pGraphics->LoadIBitmap(ratioResID, ratioResFile, 11);
  pGraphics->AttachControl(new IKnobMultiControl(this, ratioResLoc->h, ratioResLoc->v, kRat, &knob));
instead of this one;

Code:
IBitmap knob3 = pGraphics->LoadIBitmap(RAT_ID, RAT_FN, kKnob3Frames);
  
  pGraphics->AttachControl(new IKnobMultiControl(this, kRatX, kRatY, kRat, &knob3));
But getting "Use of undeclared identifier 'ratioResFile'" , "Use of undeclared identifier 'ratioResID'" , "Use of undeclared identifier 'ratioResLoc'".
Tunca is offline   Reply With Quote