MyGUI 3.2.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

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
12 namespace MyGUI
13 {
14
15 class ILayer;
16 class ILayerNode;
17
18 class MYGUI_EXPORT ILayerItem
19 {
20 public:
21 virtual ~ILayerItem() { }
22
23 virtual ILayerItem* getLayerItemByPoint(int _left, int _top) const = 0;
24 virtual const IntCoord& getLayerItemCoord() const = 0;
25
26 virtual void resizeLayerItemView(const IntSize& _oldView, const IntSize& _newView) = 0;
27
28 virtual void attachItemToNode(ILayer* _layer, ILayerNode* _node) = 0;
29 virtual void detachFromLayer() = 0;
30 virtual void upLayerItem() = 0;
31 };
32
33 } // namespace MyGUI
34
35 #endif // MYGUI_I_LAYER_ITEM_H_
MyGUI::types::TCoord
Definition: MyGUI_TCoord.h:20
MyGUI::ILayerNode
Definition: MyGUI_ILayerNode.h:27
MyGUI_Prerequest.h
MyGUI::ILayerItem::~ILayerItem
virtual ~ILayerItem()
Definition: MyGUI_ILayerItem.h:21
MyGUI::types::TSize< int >
MyGUI
Definition: MyGUI_ActionController.h:14
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:103
MyGUI::ILayer
Definition: MyGUI_ILayer.h:21
MyGUI::ILayerItem
Definition: MyGUI_ILayerItem.h:18