7#ifndef MYGUI_I_LAYER_H_
8#define MYGUI_I_LAYER_H_
29 const std::string& getName()
const
34 void setName(std::string_view _name)
39 virtual ILayerNode* createChildItemNode() = 0;
40 virtual void destroyChildItemNode(ILayerNode* _node) = 0;
43 virtual void upChildItemNode(ILayerNode* _item) = 0;
48 virtual size_t getLayerNodeCount()
const = 0;
50 virtual ILayerNode* getLayerNodeAt(
size_t _index)
const = 0;
53 virtual ILayerItem* getLayerItemByPoint(
int _left,
int _top)
const = 0;
56 virtual IntPoint getPosition(
int _left,
int _top)
const = 0;
59 virtual const IntSize& getSize()
const = 0;
62 virtual void renderToTarget(IRenderTarget* _target,
bool _update) = 0;
64 virtual void resizeView(
const IntSize& _viewSize) = 0;
#define MYGUI_RTTI_DERIVED(DerivedType)
types::TPoint< int > IntPoint
std::vector< ILayerNode * > VectorILayerNode
types::TSize< int > IntSize