]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/mouse.h
Add EventSource abstraction layer below Window
[libs/gui.git] / source / input / mouse.h
index 84f9ce0c87b49f4b7c54f5c046c3596501346e13..0a0f4fa0f1aa9cf66d566d648405944ef3f1512b 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of libmspgbase
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2008, 2010  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -23,10 +23,10 @@ Note: Y axis grows upwards.
 class Mouse: public Device
 {
 private:
-       Graphics::Window &window;
+       Graphics::EventSource &source;
 
 public:
-       Mouse(Graphics::Window &);
+       Mouse(Graphics::EventSource &);
        virtual std::string get_button_name(unsigned) const;
        virtual std::string get_axis_name(unsigned) const;
 private: