From 1df79078b7992010f8cde6b8915408ac9f6305a2 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:58:48 +0200 Subject: Remove duplications between Fl_Graphics_Driver and derived classes. --- FL/Fl_Graphics_Driver.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index eacb03add..5de983554 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -166,7 +166,7 @@ protected: matrix m; ///< current transformation matrix int n; ///< For internal use by FLTK int gap_; ///< For internal use by FLTK - int what; ///< For internal use by FLTK + enum SHAPE {NONE=0, LINE, LOOP, POLYGON, POINTS} what; int rstackptr; ///< For internal use by FLTK static const int region_stack_max = FL_REGION_STACK_SIZE - 1; ///< For internal use by FLTK Fl_Region rstack[FL_REGION_STACK_SIZE]; ///< For internal use by FLTK @@ -175,7 +175,6 @@ protected: typedef struct { float x; float y; } XPOINT; XPOINT *xpoint; #ifndef FL_DOXYGEN - enum {LINE, LOOP, POLYGON, POINT_}; inline int vertex_no() { return n; } inline int vertex_kind() {return what;} #endif -- cgit v1.2.3