MyGUI  3.2.1
MyGUI_IPointer.h
Go to the documentation of this file.
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_I_POINTER_H__
00008 #define __MYGUI_I_POINTER_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 #include "MyGUI_IResource.h"
00012 
00013 namespace MyGUI
00014 {
00015 
00016     class MYGUI_EXPORT IPointer :
00017         public IResource
00018     {
00019         MYGUI_RTTI_DERIVED( IPointer )
00020 
00021     public:
00022         IPointer() { }
00023         virtual ~IPointer() { }
00024 
00025         virtual void setImage(ImageBox* _image) = 0;
00026         virtual void setPosition(ImageBox* _image, const IntPoint& _point) = 0;
00027     };
00028 
00029 } // namespace MyGUI
00030 
00031 #endif // __MYGUI_I_POINTER_H__