3 This file is part of libmspgbase
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GBASE_MOUSE_H_
9 #define MSP_GBASE_MOUSE_H_
11 #include "inputdevice.h"
17 class Mouse: public Device
20 Graphics::Window &window;
24 Mouse(Graphics::Window &);
25 virtual std::string get_button_name(unsigned) const;
27 void button_press(int, int, unsigned, unsigned);
28 void button_release(int, int, unsigned, unsigned);
29 void pointer_motion(int, int);