diff options
author | hobbs <hobbs> | 2003-11-17 23:12:43 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-11-17 23:12:43 (GMT) |
commit | 3d4310e751a063d749094f93cefd45289e283509 (patch) | |
tree | 7008d9995e94e7eab0aabb354357b348f54f0c2e /generic/tkMenubutton.h | |
parent | efcbe5870a41ae03fb35107532faee500e1431c5 (diff) | |
download | tk-3d4310e751a063d749094f93cefd45289e283509.zip tk-3d4310e751a063d749094f93cefd45289e283509.tar.gz tk-3d4310e751a063d749094f93cefd45289e283509.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..d41e64e 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.9 2003/11/17 23:12:44 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. */ |