#include <MyGUI_ControllerEdgeHide.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerEdgeHide | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
ControllerEdgeHide () | |
void | setTime (float _value) |
void | setRemainPixels (int _value) |
void | setShadowSize (int _value) |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
This controller used for hiding widgets near screen edges. Widget will start hiding(move out of screen) if it's near border and it and it's childrens don't have any focus. Hiding till only small part of widget be visible. Widget will move inside screen if it have any focus.
Definition at line 39 of file MyGUI_ControllerEdgeHide.h.
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
MyGUI::ControllerEdgeHide::ControllerEdgeHide | ( | ) |
Definition at line 33 of file MyGUI_ControllerEdgeHide.cpp.
static const std::string& MyGUI::ControllerEdgeHide::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
virtual const std::string& MyGUI::ControllerEdgeHide::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
bool MyGUI::ControllerEdgeHide::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
virtual bool MyGUI::ControllerEdgeHide::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 of file MyGUI_ControllerEdgeHide.h.
void MyGUI::ControllerEdgeHide::setProperty | ( | const std::string & | _key, | |
const std::string & | _value | |||
) | [virtual] |
Reimplemented from MyGUI::ControllerItem.
Definition at line 137 of file MyGUI_ControllerEdgeHide.cpp.
void MyGUI::ControllerEdgeHide::setRemainPixels | ( | int | _value | ) | [inline] |
_remainPixels | how many pixels you will see afterr full hide |
Definition at line 55 of file MyGUI_ControllerEdgeHide.h.
void MyGUI::ControllerEdgeHide::setShadowSize | ( | int | _value | ) | [inline] |
_shadowSize | adds to _remainPixels when hiding left or top (for example used for windows with shadows) |
Definition at line 60 of file MyGUI_ControllerEdgeHide.h.
void MyGUI::ControllerEdgeHide::setTime | ( | float | _value | ) | [inline] |
_value | in which widget will be hidden or shown |
Definition at line 50 of file MyGUI_ControllerEdgeHide.h.