MyGUI: MyGUI_ResourceManualPointer.h Source File

MyGUI 3.4.2

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

- File List
- Globals

MyGUI_ResourceManualPointer.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_RESOURCE_MANUAL_POINTER_H_
8#define MYGUI_RESOURCE_MANUAL_POINTER_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_IPointer.h"
12
13namespace MyGUI
14{
15
16 class MYGUI_EXPORT ResourceManualPointer :
17 public IPointer
18 {
19 MYGUI_RTTI_DERIVED( ResourceManualPointer )
20
21 public:
22 void deserialization(xml::ElementPtr _node, Version _version) override;
23
24 void setImage(ImageBox* _image) override;
25 void setPosition(ImageBox* _image, const IntPoint& _point) override;
26
27 private:
28 IntPoint mPoint;
29 IntSize mSize;
30 IntCoord mTextureCoord;
31 std::string mTexture;
32 };
33
34} // namespace MyGUI
35
36#endif // MYGUI_RESOURCE_MANUAL_POINTER_H_
MyGUI_IPointer.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:48
MyGUI::IPointer
Definition MyGUI_IPointer.h:18
MyGUI::ImageBox
widget description should be here.
Definition MyGUI_ImageBox.h:24
MyGUI::ResourceManualPointer
Definition MyGUI_ResourceManualPointer.h:18
MyGUI::Version
Definition MyGUI_Version.h:18
MyGUI::xml::Element
Definition MyGUI_XmlDocument.h:159
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::types::TCoord< int >
MyGUI::types::TPoint< int >
MyGUI::types::TSize< int >