|
Public Member Functions |
virtual void | SetProperty (OSType propID, double value) |
virtual void | SetProperty (OSType propID, int32_t value) |
virtual void | SetProperty (OSType propID, AUGUI::color_t &value) |
virtual void | SetProperty (OSType propID, CFStringRef value) |
virtual bool | GetProperty (OSType propID, double &value) |
virtual bool | GetProperty (OSType propID, int32_t &value) |
virtual bool | GetProperty (OSType propID, AUGUI::color_t &value) |
virtual bool | GetProperty (OSType propID, CFStringRef &value) |
Static Public Attributes |
static const OSType | kKnobControlBackgroundImageTag = 'BkIm' |
Protected Member Functions |
| TKnobControl (HIViewRef inControl) |
virtual | ~TKnobControl () |
virtual ControlKind | GetKind () |
virtual bool | UseNonblockingTracking () |
| To enable the non-blocking tracking a subclass must override this method to return true.
|
virtual OSStatus | Initialize (TCarbonEvent &inEvent) |
virtual OSStatus | StillTracking (TCarbonEvent &inEvent, HIPoint &from) |
| Called during tracking.
|
virtual void | DrawStaticBackground (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing) |
| Draw the static part (background) of the control.
|
virtual void | CompatibleDraw (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing) |
| The fun part of the control.
|
virtual void | TitleChanged () |
virtual void | ValueChanged () |
virtual OSStatus | SetData (OSType inTag, ControlPartCode inPart, Size inSize, const void *inPtr) |
| This method is used to set the background image.
|
Protected Attributes |
CGImageRef | mImage |
CGImageRef | mBackImage |
float | mXOffset |
float | mYOffset |
float | mMinAngle |
float | mMaxAngle |
bool | mEndless |
CFStringRef | mImageName |