MyGUI_ILayerItem.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_I_LAYER_ITEM_H_
#define MYGUI_I_LAYER_ITEM_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_Types.h"
namespace MyGUI
{
class ILayer;
class ILayerNode;
class MYGUI_EXPORT ILayerItem
{
public:
virtual ~ILayerItem() = default;
virtual ILayerItem* getLayerItemByPoint(int _left, int _top) const = 0;
virtual const IntCoord& getLayerItemCoord() const = 0;
virtual void resizeLayerItemView(const IntSize& _oldView, const IntSize& _newView) = 0;
virtual void attachItemToNode(ILayer* _layer, ILayerNode* _node) = 0;
virtual void detachFromLayer() = 0;
virtual void upLayerItem() = 0;
};
} // namespace MyGUI
#endif // MYGUI_I_LAYER_ITEM_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_Types.h
MyGUI::ILayer
Definition MyGUI_ILayer.h:22
MyGUI::ILayerItem
Definition MyGUI_ILayerItem.h:20
MyGUI::ILayerItem::attachItemToNode
virtual void attachItemToNode(ILayer *_layer, ILayerNode *_node)=0
MyGUI::ILayerItem::~ILayerItem
virtual ~ILayerItem()=default
MyGUI::ILayerItem::detachFromLayer
virtual void detachFromLayer()=0
MyGUI::ILayerItem::getLayerItemByPoint
virtual ILayerItem * getLayerItemByPoint(int _left, int _top) const =0
MyGUI::ILayerItem::resizeLayerItemView
virtual void resizeLayerItemView(const IntSize &_oldView, const IntSize &_newView)=0
MyGUI::ILayerItem::upLayerItem
virtual void upLayerItem()=0
MyGUI::ILayerItem::getLayerItemCoord
virtual const IntCoord & getLayerItemCoord() const =0
MyGUI::ILayerNode
Definition MyGUI_ILayerNode.h:29
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30