|
Public Member Functions |
| CAUCarbonViewNib (AudioUnitCarbonView inInstance) |
virtual | ~CAUCarbonViewNib () |
virtual CFStringRef | GetBundleID ()=0 |
| Must be overriden to return the AU bundle ID.
|
virtual CFStringRef | GetWindowNibName () |
| Name of main nib file (default = "window").
|
virtual CFStringRef | GetWindowCompositingName () |
| Name of window for compositing window (default = "windowCompositing").
|
virtual CFStringRef | GetWindowNoCompositingName () |
| Name of window for non compositing window (default = "window").
|
virtual bool | HasBackgroundPict () |
| Override to return false if the GUI has no background.
|
virtual CFStringRef | GetBackgroundFilename () |
| Name of the background file (default = "AUBackground.png").
|
virtual CFStringRef | GetAboutFilename () |
| Name of the about file (default = "about.png").
|
virtual CFStringRef | GetTextBackgroundFilename () |
| Name of the background image to use for text field (default = 0 = no image).
|
virtual CFStringRef | GetFontname () |
| Name of the font to use for text field (default = 0 = default font).
|
virtual int | GetFontsize () |
| Size of the font to use for text field (default = 12).
|
virtual int | GetTextJustification () |
| Texts justification (default = left).
|
virtual void | GetTextColor (RGBColor *foreColor) |
| Texts color (default = black).
|
virtual bool | PatchEraseRect () |
| Override to return false if the GUI has a background and no Apple standard control.
|
virtual bool | HasTimer () |
| Override to return false if you don't need the "idle" method.
|
virtual float | TimerResolution () |
| Timer resolution in ms (default = 50).
|
virtual void | Idle () |
| virtual method called every "TimerResolution()" ms
|
virtual bool | SupportEditMode () const |
| Override to return true if you want to be able to use the online GUI editor.
|
OSStatus | CreateUI (Float32, Float32) |
| Create the AU GUI.
|
virtual void | InitWindow (CFBundleRef sBundle) |
| Override to implement special action before the GUI pane is constructed (like registering custom controls).
|
virtual void | FinishWindow (CFBundleRef sBundle) |
| Override to implement special action after the GUI pane is constructed.
|
virtual bool | HandleCommand (EventRef inEvent, HICommandExtended &cmd) |
| Handle application commands.
|
virtual bool | HandleGestureEventForView (EventRef event, HIViewRef view) |
| Handle gestures.
|
virtual bool | HandleEventForView (EventRef event, HIViewRef view) |
| Override if you want to do special processing on some events.
|
virtual bool | HandleEventForContextualMenu (EventRef event, HIViewRef view) |
| Override if you want to do special processing on some events.
|
virtual bool | HandleEvent (EventRef event) |
virtual CGImageRef | GetBackgroundImage () |
virtual void | GetPaneBounds (Rect *rect) |
virtual HIViewRef | GetRootPane () const |
virtual void | PropertyHasChanged (AudioUnitPropertyID inPropertyID, AudioUnitScope inScope, AudioUnitElement inElement) |
CFBundleRef | GetBundleRef () |
void | InitXML () |
void | SaveXML () |
void | updateXMLForControl (HIViewRef control) |
void | updateControlFromXML (HIViewRef control) |
Protected Member Functions |
virtual HIViewRef | BuildViewFromOid (AUGUI::oid_t oid) |
virtual bool | BuildFromXML () |
virtual int | SwitchPane (int paneID, int paneNumber) |
virtual void | BindPane (HIViewRef thePane, AUGUI::oid_t oid) |
| Bind all the controls embedded in the pane to their associated parameters.
|
virtual void | BuildMultiPane (HIViewRef control, AUGUI::oid_t parent) |
| Populate the multipane "control", according to its title and its min,max.
|
virtual void | BuildDynamicViews (HIViewRef control, AUGUI::oid_t parent) |
| Build all multipanes (kAUPanelControlSignature, x) contained in the pane.
|
virtual void | BindView (HIViewRef control, AUGUI::oid_t oid) |
| Bind the control to its parameter.
|
virtual void | RegisterPropertyChanges (AudioUnitPropertyID inPropertyID) |
virtual void | UnRegisterPropertyChanges (AudioUnitPropertyID inPropertyID) |
virtual void | UnRegisterAllPropertiesChanges () |
virtual bool | HandleEventPlayMode (EventRef event) |
| We handle any clicks in the root user pane just like they are handled in the AUCarbonViewBase class, namely by resetting keyboard focus.
|
virtual void | DisplayOverlay (CFStringRef pictName) |
| Display the pict has an overlay on the current GUI.
|
void | SetEditMode (bool mode) |
bool | EditMode () const |
bool | GetDictionaryForOid (CACFDictionary &element, AUGUI::oid_t) |
bool | AddDictionaryForOid (CACFDictionary &element, AUGUI::oid_t oid) |
void | AddUnknownControls (HIViewRef view, AUGUI::oid_t fromOid) |
void | AddControlEventHandler (HIViewRef from) |
Static Protected Member Functions |
static void | PropertyChangedProc (void *inUserData, AudioUnit inComponentInstance, AudioUnitPropertyID inPropertyID, AudioUnitScope inScope, AudioUnitElement inElement) |
Protected Attributes |
CQDProcs | mProcs |
CQDProcs * | mCurrentProcsPtr |
CGImageRef | mBackgroundImage |
CFStringRef | mBundleID |
CFBundleRef | mBundleRef |
HIViewRef | mRootUserPane |
int | mPaneID |
bool | mEditMode |
CAUCarbonViewEditor * | mEditor |
CACFDictionary | mXml |
EventLoopTimerRef | mTimer |
std::set< AudioUnitPropertyID > | mPropertiesRegistered |
std::map< HIViewRef, AUGUI::oid_t > | mOids |
std::map< AUGUI::oid_t, HIViewRef > | mViews |