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_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_Image.H')
| -rw-r--r-- | FL/Fl_Image.H | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 6cf1e1267..d8fac1883 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -365,16 +365,16 @@ public: Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0); Fl_RGB_Image(const uchar *bits, int bits_length, int W, int H, int D, int LD); Fl_RGB_Image(const Fl_Pixmap *pxm, Fl_Color bg=FL_GRAY); - ~Fl_RGB_Image() FL_OVERRIDE; - Fl_Image *copy(int W, int H) const FL_OVERRIDE; + ~Fl_RGB_Image() override; + Fl_Image *copy(int W, int H) const override; Fl_Image *copy() const { return 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 label(Fl_Widget*w) FL_OVERRIDE; - void label(Fl_Menu_Item*m) FL_OVERRIDE; - void uncache() FL_OVERRIDE; + void label(Fl_Widget*w) override; + void label(Fl_Menu_Item*m) override; + void uncache() override; int cache_w() {return cache_w_;} int cache_h() {return cache_h_;} /** Sets the maximum allowed image size in bytes when creating an Fl_RGB_Image object. |
