MyGUI: MyGUI_ResourceImageSetPointer.h Source File

MyGUI 3.2.2

MyGUI_ResourceImageSetPointer.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_IMAGE_SET_POINTER_H_
8 #define MYGUI_RESOURCE_IMAGE_SET_POINTER_H_
9
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_IPointer.h"
12 #include "MyGUI_ResourceImageSet.h"
13
14 namespace MyGUI
15 {
16
17 class MYGUI_EXPORT ResourceImageSetPointer :
18 public IPointer
19 {
20 MYGUI_RTTI_DERIVED( ResourceImageSetPointer )
21
22 public:
23 ResourceImageSetPointer();
24 virtual ~ResourceImageSetPointer();
25
26 virtual void deserialization(xml::ElementPtr _node, Version _version);
27
28 virtual void setImage(ImageBox* _image);
29 virtual void setPosition(ImageBox* _image, const IntPoint& _point);
30
31 private:
32 IntPoint mPoint;
33 IntSize mSize;
34 ResourceImageSetPtr mImageSet;
35 };
36
37 } // namespace MyGUI
38
39 #endif // MYGUI_RESOURCE_IMAGE_SET_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::ResourceImageSet
Definition: MyGUI_ResourceImageSet.h:26
MyGUI::types::TPoint< int >
MyGUI::xml::Element
Definition: MyGUI_XmlDocument.h:158
MyGUI_ResourceImageSet.h
MyGUI::Version
Definition: MyGUI_Version.h:17
MyGUI_Prerequest.h
MyGUI::ResourceImageSetPointer
Definition: MyGUI_ResourceImageSetPointer.h:17
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
Definition: MyGUI_ActionController.h:14