]> granicus.if.org Git - graphviz/commitdiff
glcomp: remove 'glCompButton.glyphPos' and associated constants
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)
These have seemingly never been used.

lib/glcomp/glcompbutton.c
lib/glcomp/glcompdefs.h

index 4bfa2a9685c0b6be39f7285330eff1a2e2e8beac..ac463fdf55c19f197f5aba565ad49c764612c184 100644 (file)
@@ -61,7 +61,6 @@ glCompButton *glCompButtonNew(glCompObj * par, GLfloat x, GLfloat y,
     p->label->common.align = glAlignParent;
     /*image */
     p->image = NULL;
-    p->glyphPos = glButtonGlyphLeft;
     return p;
 }
 
index fc841e9e5d8bc3be576815c1237ab0b13ebe8d89..0c073fec091e6012a95298b146b8fe363178dd85 100644 (file)
@@ -86,8 +86,6 @@ extern "C" {
            glFontVJustifyBottom, glFontVJustifyCenter } glCompVJustify;
     typedef enum { glFontHJustifyNone, glFontHJustifyLeft,
            glFontHJustifyRight, glFontHJustifyCenter } glCompHJustify;
-    typedef enum { glButtonGlyphLeft, glButtonGlyphRight, glButtonGlyphTop,
-           glButtonGlyphBottom } glCompButtonGlyph;
     typedef enum { glBorderNone, glBorderSolid, glBorderBevel,
            glBorderCustom } glCompBorderType;
 
@@ -277,7 +275,6 @@ extern "C" {
        int refStatus;          //0 not pressed 1 pressed;
        int groupid;
        glCompImage *image;     /*glyph */
-       glCompButtonGlyph glyphPos;
        int data;
 
     };