X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fmouse.h;h=5f7e71478913902c598bdeb551ea59d159c3a00a;hb=cc728fda1325c5358f3ec177d31621b5688371fe;hp=84f9ce0c87b49f4b7c54f5c046c3596501346e13;hpb=daf317db7a79a4c92880042125814ca942c3a6fa;p=libs%2Fgui.git diff --git a/source/input/mouse.h b/source/input/mouse.h index 84f9ce0..5f7e714 100644 --- a/source/input/mouse.h +++ b/source/input/mouse.h @@ -1,15 +1,8 @@ -/* $Id$ - -This file is part of libmspgbase -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GBASE_MOUSE_H_ -#define MSP_GBASE_MOUSE_H_ +#ifndef MSP_INPUT_MOUSE_H_ +#define MSP_INPUT_MOUSE_H_ +#include #include "device.h" -#include "../gbase/window.h" namespace Msp { namespace Input { @@ -23,10 +16,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: