MyGUI  3.4.0
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 
18  public IPointer
19  {
21 
22  public:
24 
25  void deserialization(xml::ElementPtr _node, Version _version) override;
26 
27  void setImage(ImageBox* _image) override;
28  void setPosition(ImageBox* _image, const IntPoint& _point) override;
29 
30  private:
31  IntPoint mPoint;
32  IntSize mSize;
33  ResourceImageSetPtr mImageSet;
34  };
35 
36 } // namespace MyGUI
37 
38 #endif // MYGUI_RESOURCE_IMAGE_SET_POINTER_H_
MyGUI::IPointer
Definition: MyGUI_IPointer.h:18
MyGUI::ImageBox
ImageBox properties. Skin childs. ImageBox widget description should be here.
Definition: MyGUI_ImageBox.h:24
MyGUI::ResourceImageSet
Definition: MyGUI_ResourceImageSet.h:28
MyGUI::types::TPoint< int >
MyGUI::xml::Element
Definition: MyGUI_XmlDocument.h:159
MyGUI_ResourceImageSet.h
MyGUI::Version
Definition: MyGUI_Version.h:18
MyGUI_Prerequest.h
MyGUI::ResourceImageSetPointer
Definition: MyGUI_ResourceImageSetPointer.h:19
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition: MyGUI_RTTI.h:48
MyGUI::types::TSize< int >
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:89
MyGUI_IPointer.h
MyGUI
Definition: MyGUI_ActionController.h:15