MyGUI 3.4.1
|
#include <MyGUI_ControllerEdgeHide.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerEdgeHide | RTTIBase |
Public Types inherited from MyGUI::ControllerItem | |
typedef RTTIBase | Base |
typedef ControllerItem | RTTIBase |
Public Types inherited from MyGUI::IObject | |
typedef IObject | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
ControllerEdgeHide () | |
void | setTime (float _value) |
void | setRemainPixels (int _value) |
void | setShadowSize (int _value) |
bool | addTime (Widget *_widget, float _time) override |
void | prepareItem (Widget *_widget) override |
void | setProperty (const std::string &_key, const std::string &_value) override |
Public Member Functions inherited from MyGUI::ControllerItem | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
~ControllerItem () override=default | |
virtual void | prepareItem (Widget *_widget)=0 |
virtual bool | addTime (Widget *_widget, float _time)=0 |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
Public Member Functions inherited from MyGUI::IObject | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
template<typename Type > | |
Type * | castType (bool _throw=true) |
template<typename Type > | |
const Type * | castType (bool _throw=true) const |
IObject ()=default | |
virtual | ~IObject ()=default |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::ControllerItem | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
static const std::string & | getClassTypeName () |
Additional Inherited Members | |
Data Fields inherited from MyGUI::ControllerItem | |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPreAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventUpdateAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPostAction |
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 24 of file MyGUI_ControllerEdgeHide.h.
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
MyGUI::ControllerEdgeHide::ControllerEdgeHide | ( | ) |
Definition at line 22 of file MyGUI_ControllerEdgeHide.cpp.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 37 of file MyGUI_ControllerEdgeHide.cpp.
|
inlinestatic |
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
|
inline |
Compare with selected type
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 27 of file MyGUI_ControllerEdgeHide.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 30 of file MyGUI_ControllerEdgeHide.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 120 of file MyGUI_ControllerEdgeHide.cpp.
void MyGUI::ControllerEdgeHide::setRemainPixels | ( | int | _value | ) |
_value | How many pixels you will see after full hide |
Definition at line 167 of file MyGUI_ControllerEdgeHide.cpp.
void MyGUI::ControllerEdgeHide::setShadowSize | ( | int | _value | ) |
_value | Added to "remain pixels" when hiding left or top (for example used for windows with shadows) |
Definition at line 172 of file MyGUI_ControllerEdgeHide.cpp.
void MyGUI::ControllerEdgeHide::setTime | ( | float | _value | ) |
_value | in which widget will be hidden or shown |
Definition at line 162 of file MyGUI_ControllerEdgeHide.cpp.