From 81a4b7329c631ce337d8dee8b98ab602aa5f8525 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 1 Mar 2021 11:20:03 +0100 Subject: Remove warnings about hidden virtual member functions. --- src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H') diff --git a/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H b/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H index d41a0a55e..829e09d4a 100644 --- a/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H +++ b/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H @@ -133,6 +133,7 @@ public: // implementation of drawing methods void color(Fl_Color c); void color(uchar r, uchar g, uchar b); + Fl_Color color(); void push_clip(int x, int y, int w, int h); int clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H); @@ -191,6 +192,7 @@ public: void draw(int angle, const char *str, int n, int x, int y); void rtl_draw(const char* s, int n, int x, int y); void font(int face, int size); + Fl_Font font(); double width(const char *, int); double width(unsigned int u); void text_extents(const char *c, int n, int &dx, int &dy, int &w, int &h); -- cgit v1.2.3