X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fsmoothcontrol.h;h=11744ddc7fc6f4e4248580bd5b77e141a91745ca;hb=43d31e73c4b97a37017757232c4ef1db355fee3a;hp=f16177b2b2ea0076dc176ab9b0f7da76ec747506;hpb=73eebea348ced3b684d356238858c00b72cf5361;p=libs%2Fgui.git diff --git a/source/input/smoothcontrol.h b/source/input/smoothcontrol.h index f16177b..11744dd 100644 --- a/source/input/smoothcontrol.h +++ b/source/input/smoothcontrol.h @@ -29,7 +29,7 @@ public: SmoothControl(); SmoothControl(const ControlSource &); SmoothControl(Device &, ControlSrcType, unsigned); - virtual ~SmoothControl(); + ~SmoothControl(); /// Sets the dead zone value. Any value below this will be treated as 0. void set_dead_zone(float); @@ -45,9 +45,9 @@ public: float get_value() const { return value; } private: - virtual void on_press(); - virtual void on_release(); - virtual void on_motion(float, float); + void on_press() override; + void on_release() override; + void on_motion(float, float) override; }; } // namespace Input