MyGUI 3.4.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
MyGUI::OverlappedLayer Class Reference

#include <MyGUI_OverlappedLayer.h>

Inheritance diagram for MyGUI::OverlappedLayer:
Inheritance graph
[legend]

Public Types

typedef RTTIBase Base
 
typedef OverlappedLayer RTTIBase
 
- Public Types inherited from MyGUI::ILayer
typedef RTTIBase Base
 
typedef ILayer RTTIBase
 
- Public Types inherited from MyGUI::ISerializable
typedef RTTIBase Base
 
typedef ISerializable 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
 
 OverlappedLayer ()
 
 ~OverlappedLayer () override
 
void deserialization (xml::ElementPtr _node, Version _version) override
 
void setPick (bool _pick)
 
ILayerNodecreateChildItemNode () override
 
void destroyChildItemNode (ILayerNode *_node) override
 
void upChildItemNode (ILayerNode *_node) override
 
EnumeratorILayerNode getEnumerator () const override
 
size_t getLayerNodeCount () const override
 
ILayerNodegetLayerNodeAt (size_t _index) const override
 
ILayerItemgetLayerItemByPoint (int _left, int _top) const override
 
IntPoint getPosition (int _left, int _top) const override
 
const IntSizegetSize () const override
 
void renderToTarget (IRenderTarget *_target, bool _update) override
 
void resizeView (const IntSize &_viewSize) override
 
bool isOutOfDate () const
 
- Public Member Functions inherited from MyGUI::ILayer
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
 ILayer ()
 
const std::string & getName () const
 
void setName (const std::string &_name)
 
virtual ILayerNodecreateChildItemNode ()=0
 
virtual void destroyChildItemNode (ILayerNode *_node)=0
 
virtual void upChildItemNode (ILayerNode *_node)=0
 
virtual EnumeratorILayerNode getEnumerator () const =0
 
virtual size_t getLayerNodeCount () const =0
 
virtual ILayerNodegetLayerNodeAt (size_t _index) const =0
 
virtual ILayerItemgetLayerItemByPoint (int _left, int _top) const =0
 
virtual IntPoint getPosition (int _left, int _top) const =0
 
virtual const IntSizegetSize () const =0
 
virtual void renderToTarget (IRenderTarget *_target, bool _update)=0
 
virtual void resizeView (const IntSize &_viewSize)=0
 
- Public Member Functions inherited from MyGUI::ISerializable
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
virtual void serialization (xml::ElementPtr _node, Version _version)
 
virtual void deserialization (xml::ElementPtr _node, Version _version)
 
- 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::ILayer
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::ISerializable
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::IObject
static const std::string & getClassTypeName ()
 

Protected Attributes

bool mIsPick
 
VectorILayerNode mChildItems
 
bool mOutOfDate
 
IntSize mViewSize
 
- Protected Attributes inherited from MyGUI::ILayer
std::string mName
 

Detailed Description

Definition at line 17 of file MyGUI_OverlappedLayer.h.

Member Typedef Documentation

◆ Base

Definition at line 20 of file MyGUI_OverlappedLayer.h.

◆ RTTIBase

Definition at line 20 of file MyGUI_OverlappedLayer.h.

Constructor & Destructor Documentation

◆ OverlappedLayer()

MyGUI::OverlappedLayer::OverlappedLayer ( )

Definition at line 16 of file MyGUI_OverlappedLayer.cpp.

◆ ~OverlappedLayer()

MyGUI::OverlappedLayer::~OverlappedLayer ( )
override

Definition at line 23 of file MyGUI_OverlappedLayer.cpp.

Member Function Documentation

◆ createChildItemNode()

ILayerNode * MyGUI::OverlappedLayer::createChildItemNode ( )
overridevirtual

Implements MyGUI::ILayer.

Definition at line 58 of file MyGUI_OverlappedLayer.cpp.

◆ deserialization()

void MyGUI::OverlappedLayer::deserialization ( xml::ElementPtr  _node,
Version  _version 
)
overridevirtual

Reimplemented from MyGUI::ISerializable.

Definition at line 29 of file MyGUI_OverlappedLayer.cpp.

◆ destroyChildItemNode()

void MyGUI::OverlappedLayer::destroyChildItemNode ( ILayerNode _node)
overridevirtual

Implements MyGUI::ILayer.

Definition at line 69 of file MyGUI_OverlappedLayer.cpp.

◆ getClassTypeName()

static const std::string & MyGUI::OverlappedLayer::getClassTypeName ( )
inlinestatic

Definition at line 20 of file MyGUI_OverlappedLayer.h.

◆ getEnumerator()

EnumeratorILayerNode MyGUI::OverlappedLayer::getEnumerator ( ) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 168 of file MyGUI_OverlappedLayer.cpp.

◆ getLayerItemByPoint()

ILayerItem * MyGUI::OverlappedLayer::getLayerItemByPoint ( int  _left,
int  _top 
) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 131 of file MyGUI_OverlappedLayer.cpp.

◆ getLayerNodeAt()

ILayerNode * MyGUI::OverlappedLayer::getLayerNodeAt ( size_t  _index) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 178 of file MyGUI_OverlappedLayer.cpp.

◆ getLayerNodeCount()

size_t MyGUI::OverlappedLayer::getLayerNodeCount ( ) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 173 of file MyGUI_OverlappedLayer.cpp.

◆ getPosition()

IntPoint MyGUI::OverlappedLayer::getPosition ( int  _left,
int  _top 
) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 147 of file MyGUI_OverlappedLayer.cpp.

◆ getSize()

const IntSize & MyGUI::OverlappedLayer::getSize ( ) const
overridevirtual

Implements MyGUI::ILayer.

Definition at line 185 of file MyGUI_OverlappedLayer.cpp.

◆ getTypeName()

virtual const std::string & MyGUI::OverlappedLayer::getTypeName ( ) const
inlineoverridevirtual

Get type name as string

Reimplemented from MyGUI::ILayer.

Definition at line 20 of file MyGUI_OverlappedLayer.h.

◆ isOutOfDate()

bool MyGUI::OverlappedLayer::isOutOfDate ( ) const

Definition at line 190 of file MyGUI_OverlappedLayer.cpp.

◆ isType() [1/2]

template<typename Type >
bool MyGUI::OverlappedLayer::isType ( ) const
inline

Compare with selected type

Definition at line 20 of file MyGUI_OverlappedLayer.h.

◆ isType() [2/2]

virtual bool MyGUI::OverlappedLayer::isType ( const std::type_info &  _type) const
inlineoverridevirtual

Compare with selected type

Reimplemented from MyGUI::ILayer.

Definition at line 20 of file MyGUI_OverlappedLayer.h.

◆ renderToTarget()

void MyGUI::OverlappedLayer::renderToTarget ( IRenderTarget _target,
bool  _update 
)
overridevirtual

Implements MyGUI::ILayer.

Definition at line 152 of file MyGUI_OverlappedLayer.cpp.

◆ resizeView()

void MyGUI::OverlappedLayer::resizeView ( const IntSize _viewSize)
overridevirtual

Implements MyGUI::ILayer.

Definition at line 160 of file MyGUI_OverlappedLayer.cpp.

◆ setPick()

void MyGUI::OverlappedLayer::setPick ( bool  _pick)

Definition at line 53 of file MyGUI_OverlappedLayer.cpp.

◆ upChildItemNode()

void MyGUI::OverlappedLayer::upChildItemNode ( ILayerNode _node)
overridevirtual

Implements MyGUI::ILayer.

Definition at line 99 of file MyGUI_OverlappedLayer.cpp.

Field Documentation

◆ mChildItems

VectorILayerNode MyGUI::OverlappedLayer::mChildItems
protected

Definition at line 61 of file MyGUI_OverlappedLayer.h.

◆ mIsPick

bool MyGUI::OverlappedLayer::mIsPick
protected

Definition at line 60 of file MyGUI_OverlappedLayer.h.

◆ mOutOfDate

bool MyGUI::OverlappedLayer::mOutOfDate
protected

Definition at line 62 of file MyGUI_OverlappedLayer.h.

◆ mViewSize

IntSize MyGUI::OverlappedLayer::mViewSize
protected

Definition at line 63 of file MyGUI_OverlappedLayer.h.


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