List of all members.
Public Member Functions |
|
| Widget (const Ogre::Vector4 &Dimension, const Ogre::String &materialNameNormal, bool hasOverState=true, bool hasActiveState=true) |
|
Ogre::Vector2 | getPosition () const |
|
Ogre::Vector2 | getSize () const |
|
void | setPosition (const Ogre::Vector2 &position) |
|
void | setSize (const Ogre::Vector2 &size) |
|
virtual void | show () |
|
virtual void | hide () |
|
virtual bool | isVisible () |
|
virtual void | over (const bool a) |
|
virtual void | activate (const bool a) |
|
virtual void | adjustSizeToContent () |
|
virtual void | setPosition (int X, int Y) |
|
virtual void | setSize (int X, int Y) |
|
virtual void | setAlpha (const Ogre::Real alpha, const bool isContainer) |
|
virtual void | setMaterialBlendFactor (const Ogre::Real blendFactor, const bool isContainer) |
|
bool | getUnderEffect () const |
|
void | setUnderEffect (bool val) |
|
bool | getOver () const |
|
void | setOver (bool val) |
|
bool | getActive () const |
|
void | setActive (bool val) |
|
void | setMaterial (Ogre::MaterialPtr mat) |
Protected Member Functions |
|
bool | isOut (const int x, const int y) const |
|
bool | isIn (const int x, const int y) const |
|
void | instantiateMaterial (Ogre::OverlayContainer *const oc, bool reset) const |
|
void | setOverlayAlpha (Ogre::OverlayContainer *const oc, const Ogre::Real alpha) const |
|
void | setOverlayMaterialBlendFactor (Ogre::OverlayContainer *const oc, const Ogre::Real blendFactor) const |
Protected Attributes |
|
int | mPosX |
|
int | mPosY |
|
int | mWidth |
|
int | mHeight |
|
std::vector< Widget * > | mChildren |
|
Ogre::OverlayContainer * | mMainOverlay |
|
Ogre::OverlayContainer * | mCaptionOverlay |
|
Ogre::String | mMaterialName |
|
bool | mHasMaterial |
|
bool | mHasOverState |
|
bool | mHasActiveState |
|
bool | mUnderEffect |
|
bool | mOver |
|
bool | mActive |
Friends |
|
class | GUI |
The documentation for this class was generated from the following files:
- Demos/include/BetaGUI.h
- Demos/src/BetaGUI.cpp