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_Pixmap.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_Pixmap.H')
| -rw-r--r-- | FL/Fl_Pixmap.H | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H index 0efdb84c7..13809063f 100644 --- a/FL/Fl_Pixmap.H +++ b/FL/Fl_Pixmap.H @@ -63,15 +63,15 @@ public: /** The constructors create a new pixmap from the specified XPM data. */ explicit Fl_Pixmap(const uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id_(0), mask_(0) {set_data((const char*const*)D); measure();} virtual ~Fl_Pixmap(); - Fl_Image *copy(int W, int H) const FL_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_;} }; |
