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_I_POINTER_H_ 8 #define MYGUI_I_POINTER_H_ 9 10 #include "MyGUI_Prerequest.h" 11 #include "MyGUI_IResource.h" 12 13 namespace MyGUI 14 { 15 16 class MYGUI_EXPORT IPointer : 17 public IResource 18 { 19 MYGUI_RTTI_DERIVED( IPointer ) 20 21 public: 22 virtual void setImage(ImageBox* _image) = 0; 23 virtual void setPosition(ImageBox* _image, const IntPoint& _point) = 0; 24 }; 25 26 } // namespace MyGUI 27 28 #endif // MYGUI_I_POINTER_H_ 29