#include <IControl.h>
Public Member Functions | |
virtual | ~IControl (void) |
Destructor. | |
virtual bool | hitTest (int mouseX, int mouseY)=0 |
Test if the mouse is over the controller. | |
virtual pIGeometry | getGeometry ()=0 |
Get the geometry of the controller. | |
virtual pITexture | getTexture ()=0 |
Get the texture of the controller. | |
virtual wchar * | getName ()=0 |
Get the controller name. | |
virtual void | setName (wchar *name)=0 |
Set the null-terminated controller name. | |
virtual int | getX ()=0 |
Get the x-coordinate of the controller. | |
virtual void | setX (int x)=0 |
Set the x-coordinate of the controller. | |
virtual int | getY ()=0 |
Get the y-coordinate of the controller. | |
virtual void | setY (int y)=0 |
Set the y-coordinate of the controller. | |
virtual int | getWidth ()=0 |
Get the width of the controller. | |
virtual void | setWidth (int width)=0 |
Set the width of the controller. | |
virtual int | getHeight ()=0 |
Get the height of the controller. | |
virtual void | setHeight (int height)=0 |
Set the height of the controller. | |
virtual int | getIndex ()=0 |
Retrieve Index to calculate UV Coordinates in GUI Texture. | |
virtual void | setIndex (int index)=0 |
Set Index for UV Coordinate Calculation (only neccessary for elements with constantly changing texture). | |
virtual bool | getVisible ()=0 |
Gets the visible status of this control. | |
virtual void | setVisible (bool visible)=0 |
Sets the visibility of this control. |
Controller interface for the GUI renderer.
Definition at line 5 of file IControl.h.
virtual IControl::~IControl | ( | void | ) | [inline, virtual] |
Destructor.
Definition at line 9 of file IControl.h.
virtual pIGeometry IControl::getGeometry | ( | ) | [pure virtual] |
Get the geometry of the controller.
Implemented in Control.
virtual int IControl::getHeight | ( | ) | [pure virtual] |
Get the height of the controller.
Implemented in Control.
virtual int IControl::getIndex | ( | ) | [pure virtual] |
virtual wchar* IControl::getName | ( | ) | [pure virtual] |
Get the controller name.
Implemented in Control.
virtual pITexture IControl::getTexture | ( | ) | [pure virtual] |
Get the texture of the controller.
Implemented in Control.
virtual bool IControl::getVisible | ( | ) | [pure virtual] |
Gets the visible status of this control.
Implemented in Control.
virtual int IControl::getWidth | ( | ) | [pure virtual] |
Get the width of the controller.
Implemented in Control.
virtual int IControl::getX | ( | ) | [pure virtual] |
Get the x-coordinate of the controller.
Implemented in Control.
virtual int IControl::getY | ( | ) | [pure virtual] |
Get the y-coordinate of the controller.
Implemented in Control.
virtual bool IControl::hitTest | ( | int | mouseX, | |
int | mouseY | |||
) | [pure virtual] |
virtual void IControl::setHeight | ( | int | height | ) | [pure virtual] |
Set the height of the controller.
Implemented in Control.
virtual void IControl::setIndex | ( | int | index | ) | [pure virtual] |
Set Index for UV Coordinate Calculation (only neccessary for elements with constantly changing texture).
Implemented in Control.
virtual void IControl::setName | ( | wchar * | name | ) | [pure virtual] |
Set the null-terminated controller name.
Implemented in Control.
virtual void IControl::setVisible | ( | bool | visible | ) | [pure virtual] |
Sets the visibility of this control.
Implemented in Control.
virtual void IControl::setWidth | ( | int | width | ) | [pure virtual] |
Set the width of the controller.
Implemented in Control.
virtual void IControl::setX | ( | int | x | ) | [pure virtual] |
Set the x-coordinate of the controller.
Implemented in Control.
virtual void IControl::setY | ( | int | y | ) | [pure virtual] |
Set the y-coordinate of the controller.
Implemented in Control.