MyGUI  3.4.0
MyGUI_ILayerItem.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef MYGUI_I_LAYER_ITEM_H_
8 #define MYGUI_I_LAYER_ITEM_H_
9 
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_Types.h"
12 
13 namespace MyGUI
14 {
15 
16  class ILayer;
17  class ILayerNode;
18 
20  {
21  public:
22  virtual ~ILayerItem() { }
23 
24  virtual ILayerItem* getLayerItemByPoint(int _left, int _top) const = 0;
25  virtual const IntCoord& getLayerItemCoord() const = 0;
26 
27  virtual void resizeLayerItemView(const IntSize& _oldView, const IntSize& _newView) = 0;
28 
29  virtual void attachItemToNode(ILayer* _layer, ILayerNode* _node) = 0;
30  virtual void detachFromLayer() = 0;
31  virtual void upLayerItem() = 0;
32  };
33 
34 } // namespace MyGUI
35 
36 #endif // MYGUI_I_LAYER_ITEM_H_
MyGUI::ILayerItem::getLayerItemByPoint
virtual ILayerItem * getLayerItemByPoint(int _left, int _top) const =0
MyGUI::ILayerItem::getLayerItemCoord
virtual const IntCoord & getLayerItemCoord() const =0
MyGUI::ILayerItem::attachItemToNode
virtual void attachItemToNode(ILayer *_layer, ILayerNode *_node)=0
MyGUI::ILayerNode
Definition: MyGUI_ILayerNode.h:30
MyGUI::ILayerItem::detachFromLayer
virtual void detachFromLayer()=0
MyGUI::ILayer
Definition: MyGUI_ILayer.h:23
MyGUI::ILayerItem::resizeLayerItemView
virtual void resizeLayerItemView(const IntSize &_oldView, const IntSize &_newView)=0
MyGUI_Prerequest.h
MyGUI::ILayerItem::upLayerItem
virtual void upLayerItem()=0
MyGUI::types::TSize< int >
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:89
MyGUI_Types.h
MyGUI::types::TCoord< int >
MyGUI::ILayerItem::~ILayerItem
virtual ~ILayerItem()
Definition: MyGUI_ILayerItem.h:22
MyGUI
Definition: MyGUI_ActionController.h:15
MyGUI::ILayerItem
Definition: MyGUI_ILayerItem.h:20