MyGUI  3.2.1
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 
17  public IPointer
18  {
20 
21  public:
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__