MyGUI  3.2.1
Public Types | Public Member Functions | Static Public Member Functions
MyGUI::ControllerEdgeHide Class Reference

#include <MyGUI_ControllerEdgeHide.h>

+ Inheritance diagram for MyGUI::ControllerEdgeHide:

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 ()
virtual ~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 ()

Detailed Description

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.


Member Typedef Documentation

Reimplemented from MyGUI::ControllerItem.

Definition at line 27 of file MyGUI_ControllerEdgeHide.h.

Reimplemented from MyGUI::ControllerItem.

Definition at line 27 of file MyGUI_ControllerEdgeHide.h.


Constructor & Destructor Documentation

Definition at line 21 of file MyGUI_ControllerEdgeHide.cpp.

Definition at line 29 of file MyGUI_ControllerEdgeHide.cpp.


Member Function Documentation

static const std::string& MyGUI::ControllerEdgeHide::getClassTypeName ( ) [inline, static]

Reimplemented from MyGUI::ControllerItem.

Definition at line 27 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 27 of file MyGUI_ControllerEdgeHide.h.

template<typename Type >
bool MyGUI::ControllerEdgeHide::isType ( ) const [inline]

Compare with selected type

Reimplemented from MyGUI::ControllerItem.

Definition at line 27 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 27 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 123 of file MyGUI_ControllerEdgeHide.cpp.

Parameters:
_valueHow many pixels you will see after full hide

Definition at line 170 of file MyGUI_ControllerEdgeHide.cpp.

Parameters:
_valueAdded to "remain pixels" when hiding left or top (for example used for windows with shadows)

Definition at line 175 of file MyGUI_ControllerEdgeHide.cpp.

void MyGUI::ControllerEdgeHide::setTime ( float  _value)
Parameters:
_valuein which widget will be hidden or shown

Definition at line 165 of file MyGUI_ControllerEdgeHide.cpp.


The documentation for this class was generated from the following files: