26 MYGUI_LOG(Critical,
"Layer '" <<
getName() <<
"' must be empty before destroy");
35 while (propert.
next(
"Property"))
40 setPick(utility::parseValue<bool>(value));
43 else if (_version >=
Version(1, 0))
103 if (parent !=
nullptr)
117 if ((*iter) == _item)
136 VectorILayerNode::const_reverse_iterator iter =
mChildItems.rbegin();
155 (*iter)->renderToTarget(_target, _update);
163 (*iter)->resizeView(_viewSize);
#define MYGUI_EXCEPT(dest)
#define MYGUI_ASSERT_RANGE(index, size, owner)
#define MYGUI_LOG(level, text)
const std::string & getName() const
virtual ILayerItem * getLayerItemByPoint(int _left, int _top) const =0
virtual ILayerNode * getParent() const =0
virtual void upChildItemNode(ILayerNode *_node)=0
virtual void destroyChildItemNode(ILayerNode *_node)=0
const IntSize & getSize() const override
void deserialization(xml::ElementPtr _node, Version _version) override
EnumeratorILayerNode getEnumerator() const override
void upChildItemNode(ILayerNode *_node) override
ILayerNode * getLayerNodeAt(size_t _index) const override
VectorILayerNode mChildItems
~OverlappedLayer() override
void resizeView(const IntSize &_viewSize) override
IntPoint getPosition(int _left, int _top) const override
ILayerItem * getLayerItemByPoint(int _left, int _top) const override
ILayerNode * createChildItemNode() override
void renderToTarget(IRenderTarget *_target, bool _update) override
void destroyChildItemNode(ILayerNode *_node) override
size_t getLayerNodeCount() const override
virtual const IntSize & getViewSize() const =0
static RenderManager & getInstance()
ElementEnumerator getElementEnumerator()
bool findAttribute(const std::string &_name, std::string &_value)
bool parseBool(const std::string &_value)
Enumerator< VectorILayerNode > EnumeratorILayerNode
types::TPoint< int > IntPoint