MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #ifndef __MYGUI_RESOURCE_IMAGE_SET_POINTER_H__ 00008 #define __MYGUI_RESOURCE_IMAGE_SET_POINTER_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include "MyGUI_IPointer.h" 00012 #include "MyGUI_ResourceImageSet.h" 00013 00014 namespace MyGUI 00015 { 00016 00017 class MYGUI_EXPORT ResourceImageSetPointer : 00018 public IPointer 00019 { 00020 MYGUI_RTTI_DERIVED( ResourceImageSetPointer ) 00021 00022 public: 00023 ResourceImageSetPointer(); 00024 virtual ~ResourceImageSetPointer(); 00025 00026 virtual void deserialization(xml::ElementPtr _node, Version _version); 00027 00028 virtual void setImage(ImageBox* _image); 00029 virtual void setPosition(ImageBox* _image, const IntPoint& _point); 00030 00031 private: 00032 IntPoint mPoint; 00033 IntSize mSize; 00034 ResourceImageSetPtr mImageSet; 00035 }; 00036 00037 } // namespace MyGUI 00038 00039 #endif // __MYGUI_RESOURCE_IMAGE_SET_POINTER_H__