#include <CAUGuiPane.h>
Inheritance diagram for CAUGuiPane:

Public Member Functions | |
| CAUGuiPane (CAUGuiMan *, eRect *, CAUGuiGraphic *) | |
| constructor | |
| virtual | ~CAUGuiPane () |
| destructor | |
| virtual bool | isControlRef (ControlRef theControl) |
| traversing its "foreign controls" and nested children | |
| virtual CAUGuiCtrl * | getChild (ControlRef theControl) |
| getting the requested Control object | |
| virtual bool | providesForeignControls () |
| true, 2 1x1 pixel CarbonControls | |
| virtual void | initForeignControls (ControlDefSpec &ControlSpec) |
| setting them up | |
| virtual void | draw (CGContextRef context, UInt32 portHeight) |
| receives draws from CAUGuiControlHandler | |
| virtual void | mouseDown (Point *P, bool, bool) |
| receives Mouse clicks from CAUGuiControlHandler | |
| virtual void | mouseTrack (Point *P, bool, bool) |
| receives MouseTracking from CAUGuiControlHandler | |
| virtual void | mouseUp (Point *P, bool, bool) |
| receives Mouse ups from CAUGuiControlHandler | |
Protected Attributes | |
| CAUGuiGraphic * | BackGround |
| ControlRef | upperLeft |
| ControlRef | lowerRight |
The basic function of a Pane is to provide a background image.
Nesting Controls happens in Pane-relative coordinate space to make GUI layout more comfortable.
Technically it is a hack, because they embed two 1x1 pixel sized CarbonControls in mCarbonPane. Since AUCarbonView doesn't provide means to embed Controls in other Controls than mCarbonPane and I didn't want to alter Apple's base classes (or derive/overwrite any of them), I use this hack and it works good so far. So, Control objects nested in Panes are not physically nested on the CarbonControl side of things.
Definition at line 34 of file CAUGuiPane.h.
|
||||||||||||||||
|
constructor
Definition at line 12 of file CAUGuiPane.cpp. References kCAUGui_Pane, lowerRight, CAUGuiCtrl::setTolerance(), CAUGuiItem::setType(), and upperLeft. |
|
|
destructor
Definition at line 33 of file CAUGuiPane.cpp. |
|
||||||||||||
|
receives draws from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 97 of file CAUGuiPane.cpp. References CAUGuiCtrl::getBounds(), and CAUGuiGraphic::getImage(). |
|
|
getting the requested Control object
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 50 of file CAUGuiPane.cpp. References CAUGuiCtrl::getChild(), lowerRight, and upperLeft. Referenced by CAUGuiLayeredPane::getChild(). |
|
|
setting them up
Reimplemented from CAUGuiCtrl. Definition at line 59 of file CAUGuiPane.cpp. References CAUGuiMan::getAUCarbonViewBase(), CAUGuiCtrl::getBounds(), CAUGuiCtrl::getCAUGuiMan(), lowerRight, CAUGuiCtrl::setOpaque(), and upperLeft. |
|
|
traversing its "foreign controls" and nested children
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 40 of file CAUGuiPane.cpp. References CAUGuiCtrl::isControlRef(), lowerRight, and upperLeft. Referenced by CAUGuiLayeredPane::isControlRef(). |
|
||||||||||||||||
|
receives Mouse clicks from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 57 of file CAUGuiPane.h. |
|
||||||||||||||||
|
receives MouseTracking from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 58 of file CAUGuiPane.h. |
|
||||||||||||||||
|
receives Mouse ups from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Reimplemented in CAUGuiLayeredPane. Definition at line 59 of file CAUGuiPane.h. |
|
|
true, 2 1x1 pixel CarbonControls
Reimplemented from CAUGuiCtrl. Definition at line 51 of file CAUGuiPane.h. |
|
|
Definition at line 63 of file CAUGuiPane.h. |
|
|
Definition at line 65 of file CAUGuiPane.h. Referenced by CAUGuiPane(), getChild(), initForeignControls(), and isControlRef(). |
|
|
Definition at line 64 of file CAUGuiPane.h. Referenced by CAUGuiPane(), getChild(), initForeignControls(), and isControlRef(). |
| (c) 2002 - 2003 by Urs Heckmann www.u-he.com |
1.3.6