summaryrefslogtreecommitdiff
path: root/FL/Fl_Copy_Surface.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-07-08 14:59:37 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-07-08 15:25:14 +0200
commit3cf5a302fd2225b8d2622eb40e91262f4e7557c1 (patch)
tree2bd4ad8207dc22a819518719a9e00a1ae492fd03 /FL/Fl_Copy_Surface.H
parent2803f70f584f3a3d88d02b122f44b90d15cc22c1 (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_Copy_Surface.H')
-rw-r--r--FL/Fl_Copy_Surface.H22
1 files changed, 11 insertions, 11 deletions
diff --git a/FL/Fl_Copy_Surface.H b/FL/Fl_Copy_Surface.H
index c9e74e259..905daaad8 100644
--- a/FL/Fl_Copy_Surface.H
+++ b/FL/Fl_Copy_Surface.H
@@ -50,20 +50,20 @@ class FL_EXPORT Fl_Copy_Surface : public Fl_Widget_Surface {
private:
class Fl_Copy_Surface_Driver *platform_surface;
protected:
- void translate(int x, int y) FL_OVERRIDE;
- void untranslate() FL_OVERRIDE;
+ void translate(int x, int y) override;
+ void untranslate() override;
public:
Fl_Copy_Surface(int w, int h);
~Fl_Copy_Surface();
- void set_current() FL_OVERRIDE;
- bool is_current() FL_OVERRIDE;
+ void set_current() override;
+ bool is_current() override;
/** Returns the pixel width of the copy surface */
int w();
/** Returns the pixel height of the copy surface */
int h();
- void origin(int *x, int *y) FL_OVERRIDE;
- void origin(int x, int y) FL_OVERRIDE;
- int printable_rect(int *w, int *h) FL_OVERRIDE;
+ void origin(int *x, int *y) override;
+ void origin(int x, int y) override;
+ int printable_rect(int *w, int *h) override;
};
@@ -88,10 +88,10 @@ protected:
int height;
Fl_Copy_Surface_Driver(int w, int h) : Fl_Widget_Surface(NULL), width(w), height(h) {}
virtual ~Fl_Copy_Surface_Driver() {}
- void set_current() FL_OVERRIDE = 0;
- void translate(int x, int y) FL_OVERRIDE = 0;
- void untranslate() FL_OVERRIDE = 0;
- int printable_rect(int *w, int *h) FL_OVERRIDE;
+ void set_current() override = 0;
+ void translate(int x, int y) override = 0;
+ void untranslate() override = 0;
+ int printable_rect(int *w, int *h) override;
/** Each platform implements this function its own way.
It returns an object implementing all virtual functions
of class Fl_Copy_Surface_Driver for the platform.