00001 /* 00002 $Id: inputcursor.h,v 1.1 2001/03/06 15:09:11 mbn Exp $ 00003 00004 ------------------------------------------------------------------------ 00005 ClanLib, the platform independent game SDK. 00006 00007 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00008 version 2. See COPYING for details. 00009 00010 For a total list of contributers see CREDITS. 00011 00012 ------------------------------------------------------------------------ 00013 */ 00014 00016 00017 #ifndef header_inputcursor 00018 #define header_inputcursor 00019 00020 class CL_InputCursor 00021 //: Input cursor interface. 00022 // CL_InputCursor is the interface to cursors, such as a mouse cursor. 00023 { 00024 public: 00025 virtual ~CL_InputCursor() { return; } 00026 virtual float get_x()=0; 00027 //: Returns current x-coordinate. 00029 00030 virtual float get_y()=0; 00031 //: Returns current y-coordinate. 00033 00034 virtual float get_max_x()=0; 00035 //: Returns the range of the x-coordinate. 00037 00038 virtual float get_max_y()=0; 00039 //: Returns the range of the y-coordinate. 00041 }; 00042 00043 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001