MyGUI
3.2.2
MyGUIEngine
include
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::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:29
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:103
MyGUI::types::TCoord< int >
MyGUI::ILayerItem::~ILayerItem
virtual ~ILayerItem()
Definition:
MyGUI_ILayerItem.h:21
MyGUI
Definition:
MyGUI_ActionController.h:15
MyGUI::ILayerItem
Definition:
MyGUI_ILayerItem.h:19
Generated by
1.8.20