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::types::TCoord< int >
MyGUI::ImageBox
ImageBox properties. ImageBox_skin_childs Skin childs. ImageBox widget description should be here...
Definition: MyGUI_ImageBox.h:21
MyGUI::types::TPoint< int >
MyGUI_Prerequest.h
MyGUI::types::TSize< int >
MyGUI_IPointer.h
MyGUI
Definition: MyGUI_ActionController.h:14
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:65
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:103
MyGUI::xml::Element
Definition: MyGUI_XmlDocument.h:158
MyGUI::Version
Definition: MyGUI_Version.h:17
MyGUI::ResourceManualPointer
Definition: MyGUI_ResourceManualPointer.h:16
MyGUI::IPointer
Definition: MyGUI_IPointer.h:16