summaryrefslogtreecommitdiff
path: root/src/cfg_gfx/xlib.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_gfx/xlib.H')
-rw-r--r--src/cfg_gfx/xlib.H3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cfg_gfx/xlib.H b/src/cfg_gfx/xlib.H
index c0102a726..4ce00b426 100644
--- a/src/cfg_gfx/xlib.H
+++ b/src/cfg_gfx/xlib.H
@@ -36,8 +36,6 @@ class FL_EXPORT Fl_Xlib_Graphics_Driver : public Fl_Graphics_Driver {
public:
static const char *class_id;
const char *class_name() {return class_id;};
- void color(Fl_Color c);
- void color(uchar r, uchar g, uchar b);
void draw(const char* str, int n, int x, int y);
void draw(int angle, const char *str, int n, int x, int y);
void rtl_draw(const char* str, int n, int x, int y);
@@ -102,6 +100,7 @@ protected:
void line_style(int style, int width=0, char* dashes=0);
// --- implementation is in src/fl_color.cxx which includes src/cfg_gfx/xxx_color.cxx
void color(Fl_Color c);
+ Fl_Color color() { return color_; }
void color(uchar r, uchar g, uchar b);
};