diff options
author | hobbs <hobbs> | 2003-11-17 23:29:35 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-11-17 23:29:35 (GMT) |
commit | d1e29bb48b64c51dacabdf362db5ef27da36ecda (patch) | |
tree | cac241128933533dd4532102214f9d36d469a0e6 /generic/tkMenubutton.h | |
parent | 39bb0552a9f221a96497cfb5ee0f9fb74b577a4e (diff) | |
download | tk-d1e29bb48b64c51dacabdf362db5ef27da36ecda.zip tk-d1e29bb48b64c51dacabdf362db5ef27da36ecda.tar.gz tk-d1e29bb48b64c51dacabdf362db5ef27da36ecda.tar.bz2 |
* generic/tkMenubutton.h: fixed compound menubutton handling like
* generic/tkMenubutton.c: *button corrections of 2003-04-25.
* mac/tkMacMenubutton.c (TkpDisplayMenuButton):
* unix/tkUnixMenubu.c (TkpDisplayMenuButton):
Diffstat (limited to 'generic/tkMenubutton.h')
-rw-r--r-- | generic/tkMenubutton.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/generic/tkMenubutton.h b/generic/tkMenubutton.h index 332d770..673d997 100644 --- a/generic/tkMenubutton.h +++ b/generic/tkMenubutton.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMenubutton.h,v 1.8 2001/10/12 13:30:31 tmh Exp $ + * RCS: @(#) $Id: tkMenubutton.h,v 1.8.4.1 2003/11/17 23:29:36 hobbs Exp $ */ #ifndef _TKMENUBUTTON @@ -124,12 +124,9 @@ typedef struct { * means use normalTextGC). */ Pixmap gray; /* Pixmap for displaying disabled text/icon if * disabledFg is NULL. */ - GC disabledGC; /* Used to produce disabled effect. If - * disabledFg isn't NULL, this GC is used to - * draw button text or icon. Otherwise - * text or icon is drawn with normalGC and - * this GC is used to stipple background - * across it. */ + GC disabledGC; /* Used to produce disabled effect for text. */ + GC stippleGC; /* Used to produce disabled stipple effect + * for images when disabled. */ int leftBearing; /* Distance from text origin to leftmost drawn * pixel (positive means to right). */ int rightBearing; /* Amount text sticks right from its origin. */ |