MyGUI  3.2.1
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  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__