MyGUI: MyGUI_ResourceManualPointer.h Source File

MyGUI 3.2.2

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