Inheritance diagram for Exponent::GUI::Controls::IControlRoot:
Definition at line 64 of file IControlRoot.hpp.
Exponent::GUI::Controls::IControlRoot::IControlRoot | ( | ) | [inline] |
Construction
Definition at line 85 of file IControlRoot.hpp.
virtual Exponent::GUI::Controls::IControlRoot::~IControlRoot | ( | ) | [inline, virtual] |
Destruction
Definition at line 90 of file IControlRoot.hpp.
virtual void Exponent::GUI::Controls::IControlRoot::addControl | ( | IControl * | control | ) | [pure virtual] |
Add a control
control | The control to add |
Implemented in Exponent::GUI::Controls::CControlPanel, and Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::clearControls | ( | ) | [pure virtual] |
Remove all controls
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual bool Exponent::GUI::Controls::IControlRoot::controlIsLocked | ( | ) | const [pure virtual] |
Is there a control locked
bool | True if a control is locked, false otherwise |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::drawRootControl | ( | CGraphics & | graphics | ) | [pure virtual] |
Draw the root control
graphics | The graphics context |
virtual IControl* Exponent::GUI::Controls::IControlRoot::getControlAtIndex | ( | const long | index, | |
bool | isIndex | |||
) | [pure virtual] |
Get a specific index, or with a specific id, if isIndex = false
index | The index to get | |
isIndex | If true returns the control at index else returns the control with id of index |
IControl* | The control or null on error / not finiding it etc |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual IControl* Exponent::GUI::Controls::IControlRoot::getControlAtPoint | ( | const CPoint & | point | ) | [pure virtual] |
Get the control at this point (point is relative to this' top left)
point | The position relative to this roots top left |
IControl* | The control, or null on error |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual long Exponent::GUI::Controls::IControlRoot::getControlIndex | ( | IControl * | control | ) | [pure virtual] |
Get the index of a control
control | The control to find the index of |
long | The index of the control |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual IControl* Exponent::GUI::Controls::IControlRoot::getDropEnabledControlAtPoint | ( | const CPoint & | point | ) | [pure virtual] |
Get he control at this point, checks for drop file enabling
point | The position relative to this roots top left |
IControl* | The control, or null on error |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::getGlobalCoordinatesOfControl | ( | IControl * | control, | |
CPoint & | point | |||
) | [pure virtual] |
Get the global location of the control in screen co-ordinates
control | The control to find the location of | |
point | The position of the control |
Implemented in Exponent::GUI::Controls::CControlPanel, and Exponent::GUI::Controls::CControlRoot.
virtual IControl* Exponent::GUI::Controls::IControlRoot::getKeyEnabledControlAtPoint | ( | const CPoint & | point | ) | [pure virtual] |
Get the key enabled control at this point, checks for key handling
point | The position relative to this roots top left |
IControl* | The control, or null on error |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual IControl* Exponent::GUI::Controls::IControlRoot::getLockedControl | ( | ) | const [pure virtual] |
Get the locked control
IControl* | The locked control |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual IControl* Exponent::GUI::Controls::IControlRoot::getMouseEnabledControlAtPoint | ( | const CPoint & | point | ) | [pure virtual] |
Get the control at this point, checks for mouse enabling
point | The position relative to this roots top left |
IControl* | The control, or null on error |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual long Exponent::GUI::Controls::IControlRoot::getNumberOfControls | ( | ) | [pure virtual] |
Get the number of controls embedded in this root
long | The number of controls |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual long Exponent::GUI::Controls::IControlRoot::getNumberOfInsertedControls | ( | ) | [pure virtual] |
Get the number of controls embedded in this root, actually inserted <= getNumberOfControls
long | The array insert index |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual IWindow* Exponent::GUI::Controls::IControlRoot::getParentWindow | ( | ) | const [pure virtual] |
Get the parent window
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::getWindowCoordinatesOfControl | ( | IControl * | control, | |
CPoint & | point | |||
) | [pure virtual] |
Get the window (absoloute) position of a control
control | The control to find the absolute position of | |
point | The position of the control on return |
Implemented in Exponent::GUI::Controls::CControlPanel, Exponent::GUI::Controls::CControlRoot, and Exponent::GUI::Controls::CScrollPanel.
virtual CPoint Exponent::GUI::Controls::IControlRoot::getWindowOffset | ( | ) | [pure virtual] |
Get window offset
Implemented in Exponent::GUI::Controls::CControlPanel, Exponent::GUI::Controls::CControlRoot, and Exponent::GUI::Controls::CScrollPanel.
virtual void Exponent::GUI::Controls::IControlRoot::lockControl | ( | IControl * | control | ) | [pure virtual] |
Lock a control (only this control recieves mouse info)
control | The control to lock |
Implemented in Exponent::GUI::Controls::CControlPanel, and Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::removeControl | ( | IControl * | control | ) | [pure virtual] |
Remove a control
control | The control to remove |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::setBackgroundImage | ( | IImage * | image | ) | [pure virtual] |
Set the background image
image | The background image for the control root |
virtual void Exponent::GUI::Controls::IControlRoot::setParentWindow | ( | IWindow * | parent | ) | [pure virtual] |
Set the parent window
virtual void Exponent::GUI::Controls::IControlRoot::startToolTipTimer | ( | ) | [pure virtual] |
Start the timer to work out if the tool tip should fire up
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::stopToolTipTimer | ( | ) | [pure virtual] |
Stop the tool tip timer from running
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::unlockControl | ( | ) | [pure virtual] |
Unlock a control
Implemented in Exponent::GUI::Controls::CControlPanel, and Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::updateArea | ( | const CRect & | area | ) | [pure virtual] |
Update an area
area | The area to update |
Implemented in Exponent::GUI::Controls::CControlPanel, Exponent::GUI::Controls::CControlRoot, and Exponent::GUI::Controls::CScrollPanel.
virtual void Exponent::GUI::Controls::IControlRoot::updateControl | ( | const long | index, | |
bool | isIndex | |||
) | [pure virtual] |
Update (redraw) a control at a specific index, or with a specific id if isIndex = false
index | The index ot update | |
isIndex | If true index is the controls id, else its the direct array index |
Implemented in Exponent::GUI::Controls::CControlRoot.
virtual void Exponent::GUI::Controls::IControlRoot::updateControl | ( | IControl * | control | ) | [pure virtual] |
Update (redraw) a control
control | The control to redraw |
Implemented in Exponent::GUI::Controls::CControlPanel, Exponent::GUI::Controls::CControlRoot, and Exponent::GUI::Controls::CScrollPanel.