X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Ftoggle.h;fp=source%2Ftoggle.h;h=2b38ffc2084f023ac0ea011f9720b58e85e2195f;hp=7c572c51e98c74d18cbf5860e56d6460224afb23;hb=d10d1de6d17c285c63d7b3cea549017aaa1ddb01;hpb=83f553a382ce554951594de85e4fd7b854305463 diff --git a/source/toggle.h b/source/toggle.h index 7c572c5..2b38ffc 100644 --- a/source/toggle.h +++ b/source/toggle.h @@ -20,7 +20,7 @@ public: public: Loader(Toggle &); private: - virtual void finish(); + void finish() override; void text(const std::string &); }; @@ -35,10 +35,10 @@ private: public: Toggle(const std::string & = std::string()); - virtual const char *get_class() const { return "toggle"; } + const char *get_class() const override { return "toggle"; } private: - virtual void autosize_special(const Part &, Geometry &) const; + void autosize_special(const Part &, Geometry &) const override; public: void set_text(const std::string &); @@ -51,14 +51,14 @@ public: bool get_value() const { return value; } private: - virtual void rebuild_special(const Part &); + void rebuild_special(const Part &) override; public: - virtual void button_press(int, int, unsigned); - virtual void button_release(int, int, unsigned); - virtual bool navigate(Navigation); + void button_press(int, int, unsigned) override; + void button_release(int, int, unsigned) override; + bool navigate(Navigation) override; private: - virtual void on_style_change(); + void on_style_change() override; }; } // namespace GLtk