summaryrefslogtreecommitdiff
path: root/FL/Fl_SVG_Image.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_SVG_Image.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_SVG_Image.H')
-rw-r--r--FL/Fl_SVG_Image.H14
1 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_SVG_Image.H b/FL/Fl_SVG_Image.H
index 6d9f77777..a8a505928 100644
--- a/FL/Fl_SVG_Image.H
+++ b/FL/Fl_SVG_Image.H
@@ -146,7 +146,7 @@ private:
float average_weight_;
float svg_scaling_(int W, int H);
void rasterize_(int W, int H);
- void cache_size_(int &width, int &height) FL_OVERRIDE;
+ void cache_size_(int &width, int &height) override;
void init_(const char *name, const unsigned char *filedata, size_t length);
Fl_SVG_Image(const Fl_SVG_Image *source);
public:
@@ -157,17 +157,17 @@ public:
Fl_SVG_Image(const char *sharedname, const char *svg_data);
Fl_SVG_Image(const char *sharedname, const unsigned char *svg_data, size_t length);
virtual ~Fl_SVG_Image();
- 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 resize(int width, int height);
- void desaturate() FL_OVERRIDE;
- void color_average(Fl_Color c, float i) FL_OVERRIDE;
- void draw(int X, int Y, int W, int H, int cx = 0, int cy = 0) FL_OVERRIDE;
+ void desaturate() override;
+ void color_average(Fl_Color c, float i) 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); }
- Fl_SVG_Image *as_svg_image() FL_OVERRIDE { return this; }
- void normalize() FL_OVERRIDE;
+ Fl_SVG_Image *as_svg_image() override { return this; }
+ void normalize() override;
};
#endif // FL_SVG_IMAGE_H