From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: glcomp: remove unused 'glCompTrackBar' X-Git-Tag: 6.0.2~5^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e60d599f49512c85dd18639bfae2f4a7530562ca;p=graphviz glcomp: remove unused 'glCompTrackBar' The last use of this was removed in 8444026daa5f5ba70dcc2a719f9ad23b927e88ce. We also remove `glCompOrientation` which was only used within this struct. --- diff --git a/lib/glcomp/glcompdefs.h b/lib/glcomp/glcompdefs.h index a9959e4be..9a73c9f5c 100644 --- a/lib/glcomp/glcompdefs.h +++ b/lib/glcomp/glcompdefs.h @@ -87,7 +87,6 @@ extern "C" { #define C_DPI 16 #define R_DPI 16 - typedef enum { inverted_y, scientific_y } glCompOrientation; typedef enum { gluttext, pangotext } glCompFontType; typedef enum { glAlignNone, glAlignLeft, glAlignTop, glAlignBottom, glAlignRight, glAlignParent, glAlignCenter } glCompAlignment; @@ -295,31 +294,6 @@ extern "C" { /*texture based image*/ -/*track bar*/ - typedef struct _glCompTrackBar { - glObjType objType; /*always keep this here for each drawable object */ - GLfloat width, height; - glCompPanel *outerpanel; - glCompPanel *trackline; - glCompPanel *indicator; - - GLfloat bevel; - glCompColor color; - glCompColor shadowcolor; - - - float value; - float maxvalue; - float minvalue; - int enabled; - int visible; - void *parentset; //parent compset - int data; - glCompFont *font; //pointer to font to use - glCompOrientation orientation; - - } glCompTrackBar; - /*object prototype*/ struct _glCompObj { glObjType objType;