]> git.tdb.fi Git - libs/gui.git/blobdiff - source/mouse.h
Redesign and refactor
[libs/gui.git] / source / mouse.h
index 6260f3bbf6bb39a378447294699efb164d33cd4e..4199f844b29d47c89fd03931c0a2374e75c2a2b3 100644 (file)
@@ -9,21 +9,19 @@ Distributed under the LGPL
 #define MSP_GBASE_MOUSE_H_
 
 #include "inputdevice.h"
+#include "window.h"
 
 namespace Msp {
-
-class Window;
-
 namespace Input {
 
 class Mouse: public Device
 {
 private:
-       Window &window;
+       Graphics::Window &window;
        float axis_scale;
 
 public:
-       Mouse(Window &);
+       Mouse(Graphics::Window &);
 private:
        void button_press(int, int, unsigned, unsigned);
        void button_release(int, int, unsigned, unsigned);