diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 14:59:37 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 15:25:14 +0200 |
| commit | 3cf5a302fd2225b8d2622eb40e91262f4e7557c1 (patch) | |
| tree | 2bd4ad8207dc22a819518719a9e00a1ae492fd03 /FL/Fl_Shared_Image.H | |
| parent | 2803f70f584f3a3d88d02b122f44b90d15cc22c1 (diff) | |
Replace 'FL_OVERRIDE' with 'override' in public headers
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
Diffstat (limited to 'FL/Fl_Shared_Image.H')
| -rw-r--r-- | FL/Fl_Shared_Image.H | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Shared_Image.H b/FL/Fl_Shared_Image.H index fec770041..c8dee6239 100644 --- a/FL/Fl_Shared_Image.H +++ b/FL/Fl_Shared_Image.H @@ -145,22 +145,22 @@ public: */ int original() { return original_; } - void release() FL_OVERRIDE; + void release() override; virtual void reload(); - Fl_Shared_Image *as_shared_image() FL_OVERRIDE { + Fl_Shared_Image *as_shared_image() override { return this; } - Fl_Image *copy(int W, int H) const FL_OVERRIDE; + Fl_Image *copy(int W, int H) const override; Fl_Image *copy() const; Fl_Image *copy(); - void color_average(Fl_Color c, float i) FL_OVERRIDE; - void desaturate() FL_OVERRIDE; - void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0) FL_OVERRIDE; + void color_average(Fl_Color c, float i) override; + void desaturate() override; + void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0) override; void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); } - void uncache() FL_OVERRIDE; + void uncache() override; static Fl_Shared_Image *find(const char *name, int W = 0, int H = 0); static Fl_Shared_Image *get(const char *name, int W = 0, int H = 0); |
