|
OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The PanelElement - Panel Objective class. More...
#include <panelelement.h>
Public Types | |
| enum | PanelMode { PM_COLOUR, PM_TEXTURE } |
Public Member Functions | |
| PanelElement (PanelMode mode) | |
| void | create (OpenPolygonDisplay *display) |
| void | draw (const DrawEvent &event) |
| void | setPosition (const Vector3f &position) |
| void | setScale (const Vector3f &scale) |
| void | setColour (const Vector4f &colour) |
| void | setTexture (Texture *texture) |
| void | setSize (const Vector2f &size) |
| void | setVisible (bool status) |
| bool | isVisible (void) |
| Vector2f | getSize (void) |
| Vector3f | getAbsolutePosition (void) |
Public Member Functions inherited from Engine::RenderElement | |
| RenderElement (const std::string &name) | |
| void | setElement (Element *element) |
| Element * | getElement (void) |
Protected Member Functions | |
| void | DrawColourMode (const DrawEvent &event) |
| void | DrawTextureMode (const DrawEvent &event) |
Additional Inherited Members | |
Protected Attributes inherited from Engine::RenderElement | |
| Element * | m_element |
The PanelElement - Panel Objective class.
1.8.10