X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Finput%2Fcontrol.h;h=924bbeca39024f3c0ed615c17d986cffa7ce7eb5;hb=f608cc1e681e16e21325df56cb96d3f17a348e21;hp=7d137bbf7342e93d033f6dafab946f1064dc2248;hpb=c9626e6953c16efc66575eff80c4c0de2f739041;p=libs%2Fgui.git diff --git a/source/input/control.h b/source/input/control.h index 7d137bb..924bbec 100644 --- a/source/input/control.h +++ b/source/input/control.h @@ -1,5 +1,5 @@ -#ifndef MSP_GBASE_CONTROL_H_ -#define MSP_GBASE_CONTROL_H_ +#ifndef MSP_INPUT_CONTROL_H_ +#define MSP_INPUT_CONTROL_H_ #include #include @@ -63,9 +63,9 @@ public: void set_source(const ControlSource &); const ControlSource &get_source() const { return src; } protected: - virtual void on_press() =0; - virtual void on_release() =0; - virtual void on_motion(float, float) =0; + virtual void on_press() = 0; + virtual void on_release() = 0; + virtual void on_motion(float, float) = 0; private: void connect_signals();