diff options
author | hobbs <hobbs> | 2003-11-17 23:29:35 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-11-17 23:29:35 (GMT) |
commit | c89c58f9f55f3535385438ef48ab09a78b6a6f36 (patch) | |
tree | cac241128933533dd4532102214f9d36d469a0e6 /generic/tkMenubutton.h | |
parent | 96fcd84d863cd9ed49b2f5f3c492864fb4019e1d (diff) | |
download | tk-c89c58f9f55f3535385438ef48ab09a78b6a6f36.zip tk-c89c58f9f55f3535385438ef48ab09a78b6a6f36.tar.gz tk-c89c58f9f55f3535385438ef48ab09a78b6a6f36.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. */ |