]> granicus.if.org Git - graphviz/commitdiff
glcomp: remove unused 'glCompTrackBar'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Sep 2022 00:27:49 +0000 (17:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Oct 2022 01:43:12 +0000 (18:43 -0700)
The last use of this was removed in 8444026daa5f5ba70dcc2a719f9ad23b927e88ce. We
also remove `glCompOrientation` which was only used within this struct.

lib/glcomp/glcompdefs.h

index a9959e4be543719c4ac3dc4dfd1067af9205f0c4..9a73c9f5cd95d54eee8b4249b9d0f54dc5ad7c50 100644 (file)
@@ -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;