[OgreKit Lua] |
Public Types | |
typedef utList < gsGUI3DScriptCallback * > | tsScriptCallbackList |
Public Member Functions | |
tsPanel (Gui3D::PanelContainer *panel, bool is2D) | |
~tsPanel () | |
void | setVisible (bool show) |
bool | isVisible () |
bool | mouseIntersection () |
void | attachToObject (gsGameObject *obj) |
void | setPosition (float x, float y, float z) |
void | setScale (float x, float y, float z) |
void | setRotation (float x, float y, float z) |
gsVector2 | getSize () |
Gui3D::PanelColors * | getSettings () |
void | setTransformState (const gkTransformState &st) |
gsGUI3DCaption * | createCaption (float x, float y, int width, int height, const gkString &text, int fontSize=-1, int align=0, int valign=0) |
gsGUI3DButton * | createButton (float x, float y, int width, int height, const gkString &text, int fontSize=-1) |
gsGUI3DCheckbox * | createCheckbox (float x, float y, int width, int height) |
gsGUI3DCombobox * | createCombobox (float x, float y, int width, int height, int showElements=3) |
gsGUI3DListbox * | createListbox (float x, float y, int width, int height, int showElements=3) |
gsGUI3DProgressbar * | createProgressbar (float x, float y, int width, int height) |
gsGUI3DScrollbar * | createScrollbar (float x, float y, int width, int height, float minValue=0, float maxValue=100) |
gsGUI3DTextField * | createTextfield (float x, float y, int width, int height, const gkString &text="") |
gsGUI3DRectangle * | createRectangle (float x, float y, int width, int height, const gsVector4 &col=gsVector4(1.f, 1.f, 1.f,.75f)) |
gsGUI3DRectangle * | createRectangle (float x, float y, int width, int height, const gkString &spriteName) |
void | setBackgroundColor (const gsVector4 &) |
void | setBackgroundColor (float r, float g, float b, float a) |
void | setBackgroundBorder (float width, const gsVector4 &col) |
void | destroy (gsGUI3DRectangle *rect) |
void | addCallback (gsGUI3DScriptCallback *callback) |
void | removeCallback (gsGUI3DScriptCallback *callback) |
void | clearCallbacks () |
Public Attributes | |
Gui3D::PanelContainer * | m_panelContainer |
bool | m_is2D |
typedef utList<gsGUI3DScriptCallback*> tsPanel::tsScriptCallbackList |
|
inline |
|
inline |
void tsPanel::addCallback | ( | gsGUI3DScriptCallback * | callback | ) |
void tsPanel::attachToObject | ( | gsGameObject * | obj | ) |
void tsPanel::clearCallbacks | ( | ) |
gsGUI3DButton* tsPanel::createButton | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
const gkString & | text, | ||
int | fontSize = -1 |
||
) |
gsGUI3DCaption* tsPanel::createCaption | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
const gkString & | text, | ||
int | fontSize = -1 , |
||
int | align = 0 , |
||
int | valign = 0 |
||
) |
gsGUI3DCheckbox* tsPanel::createCheckbox | ( | float | x, |
float | y, | ||
int | width, | ||
int | height | ||
) |
gsGUI3DCombobox* tsPanel::createCombobox | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
int | showElements = 3 |
||
) |
gsGUI3DListbox* tsPanel::createListbox | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
int | showElements = 3 |
||
) |
gsGUI3DProgressbar* tsPanel::createProgressbar | ( | float | x, |
float | y, | ||
int | width, | ||
int | height | ||
) |
gsGUI3DRectangle* tsPanel::createRectangle | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
const gsVector4 & | col = gsVector4(1.f, 1.f, 1.f,.75f) |
||
) |
gsGUI3DRectangle* tsPanel::createRectangle | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
const gkString & | spriteName | ||
) |
gsGUI3DScrollbar* tsPanel::createScrollbar | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
float | minValue = 0 , |
||
float | maxValue = 100 |
||
) |
gsGUI3DTextField* tsPanel::createTextfield | ( | float | x, |
float | y, | ||
int | width, | ||
int | height, | ||
const gkString & | text = "" |
||
) |
void tsPanel::destroy | ( | gsGUI3DRectangle * | rect | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void tsPanel::removeCallback | ( | gsGUI3DScriptCallback * | callback | ) |
void tsPanel::setBackgroundBorder | ( | float | width, |
const gsVector4 & | col | ||
) |
void tsPanel::setBackgroundColor | ( | const gsVector4 & | ) |
void tsPanel::setBackgroundColor | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
void tsPanel::setPosition | ( | float | x, |
float | y, | ||
float | z | ||
) |
void tsPanel::setRotation | ( | float | x, |
float | y, | ||
float | z | ||
) |
void tsPanel::setScale | ( | float | x, |
float | y, | ||
float | z | ||
) |
void tsPanel::setTransformState | ( | const gkTransformState & | st | ) |
|
inline |
bool tsPanel::m_is2D |
Gui3D::PanelContainer* tsPanel::m_panelContainer |