|
Public Member Functions |
| CAUCarbonViewNib (AudioUnitCarbonView inInstance) |
| ~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 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
|
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.
|
bool | HandleEvent (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 CGImageRef | GetBackgroundImage () |
virtual void | GetPaneBounds (Rect *rect) |
Protected Member Functions |
virtual int | SwitchPane (int paneID, int paneNumber) |
virtual void | BindPane (HIViewRef thePane) |
| Bind all the controls embedded the pane to their associated parameters.
|
virtual void | BuildMultiPane (HIViewRef control) |
| Populate the multipane "control", according to its title and its min,max.
|
virtual void | BuildDynamicViews (HIViewRef control) |
| Build all multipanes (kAUPanelControlSignature, x) contained if the pane.
|
bool | WindowHasCompositing () |
| Test if the carbon window has the compositing attribute.
|
Protected Attributes |
CQDProcs | mProcs |
CQDProcs * | mCurrentProcsPtr |
CGImageRef | mBackgroundImage |
CFStringRef | mBundleID |
CFBundleRef | mBundleRef |
HIViewRef | mRootUserPane |
EventLoopTimerRef | mTimer |
Your GUI class must inherit from CAUCarbonViewNib in order to automatically load your ".nib" file. Then a few methods have to or can be overridden to customize the standard behaviors.