Public Member Functions |
|
| Window (const Ogre::Vector4 &Dimensions, const Ogre::String &Material, WindowFeatureType type, const Ogre::String &caption, GUI *gui) |
|
Button * | createButton (const Ogre::Vector4 &Dimensions, const Ogre::String &Material, const Ogre::String &Text, Callback callback) |
|
TextInput * | createTextInput (const Ogre::Vector4 &Dimensions, const Ogre::String &Material, const Ogre::String &Value, int length) |
|
StaticText * | createStaticText (const Ogre::Vector4 &Dimensions, const Ogre::String &Text) |
|
void | setSize (int X, int Y) |
|
MenuButton * | addMenuButton (Window *target, const Ogre::String &label, WindowPlacementType wpt=WPT_NONE) |
|
BoolButton * | addBoolButton (bool *value, const Ogre::String &label, WindowPlacementType wpt=WPT_NONE) |
|
RealButton * | addRealButton (Ogre::Real *value, const Ogre::Vector4 &SliderMoves, const Ogre::String &label, WindowPlacementType wpt=WPT_NONE) |
|
StaticText * | addStaticText (const Ogre::String &label, WindowPlacementType wpt=WPT_NONE) |
|
Window * | addMenuWindowTab (const Ogre::String &label, bool titleBarWin=true, WindowPlacementType wpt=WPT_VERTICAL) |
|
MenuButton * | createMenuButton (const Ogre::Vector4 &D, const Ogre::String &M, const Ogre::String &T, Callback C, Window *t) |
|
BoolButton * | createBoolButton (const Ogre::Vector4 &D, const Ogre::String &M, const Ogre::String &T, Callback C, bool *boolValue) |
|
RealButton * | createRealButton (Ogre::Real *value, const Ogre::Vector4 &SliderMoves, const Ogre::String &label, const Ogre::Vector2 &pos) |
|
GUI * | getGUI () const |
|
void | setZOrder (int zOrder) |
Protected Member Functions |
|
bool | check (int x, int y, bool LMB) |
|
bool | checkKey (const Ogre::String &key, int x, int y) |
|
void | addWidget (const Widget *const w, WindowPlacementType wpt) |
Protected Attributes |
|
TextInput * | mActiveTextInput |
|
Button * | mCloseButton |
|
Button * | mResizerButton |
|
Button * | mActiveButton |
|
Button * | mTitleBarButton |
|
GUI * | mGUI |
|
std::vector< Button * > | mButtons |
|
std::vector< TextInput * > | mTextInput |
|
Ogre::Overlay * | mGuiOverlay |
|
Ogre::Vector2 | mNextWidgetPos |
|
WindowActivity | mDragType |
Friends |
|
class | Button |
|
class | TextInput |
|
class | StaticText |
|
class | GUI |