X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fimage.h;fp=source%2Fimage.h;h=99e0874f124e36b72ca3a08660896a9b40cc6f5c;hp=12e77f2a7f6df28f935bcf2c66dac9290913f33f;hb=d10d1de6d17c285c63d7b3cea549017aaa1ddb01;hpb=83f553a382ce554951594de85e4fd7b854305463 diff --git a/source/image.h b/source/image.h index 12e77f2..99e0874 100644 --- a/source/image.h +++ b/source/image.h @@ -28,10 +28,10 @@ private: public: Image(const GL::Texture2D * = nullptr); - virtual const char *get_class() const { return "image"; } + const char *get_class() const override { return "image"; } private: - virtual void autosize_special(const Part &, Geometry &) const; + void autosize_special(const Part &, Geometry &) const override; public: void set_image(const GL::Texture2D *); @@ -40,9 +40,9 @@ public: private: void update_icon(); - virtual void rebuild_special(const Part &); - virtual void on_style_change(); - virtual void on_reparent(); + void rebuild_special(const Part &) override; + void on_style_change() override; + void on_reparent() override; }; } // namespace GLtk