From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: glcomp: remove 'glCompButton.glyphPos' and associated constants X-Git-Tag: 6.0.2~5^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35e29023b5357b8f90355efd1fcb0f6c71e102f5;p=graphviz glcomp: remove 'glCompButton.glyphPos' and associated constants These have seemingly never been used. --- diff --git a/lib/glcomp/glcompbutton.c b/lib/glcomp/glcompbutton.c index 4bfa2a968..ac463fdf5 100644 --- a/lib/glcomp/glcompbutton.c +++ b/lib/glcomp/glcompbutton.c @@ -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; } diff --git a/lib/glcomp/glcompdefs.h b/lib/glcomp/glcompdefs.h index fc841e9e5..0c073fec0 100644 --- a/lib/glcomp/glcompdefs.h +++ b/lib/glcomp/glcompdefs.h @@ -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; };