diff options
| author | Pavel Janík | 2002-05-06 18:54:28 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-05-06 18:54:28 +0000 |
| commit | ba755702033b76e68b3231eab6350164e1c88780 (patch) | |
| tree | 012089d1dc9cf660afe8f43e41dfc27201d15e30 /lwlib | |
| parent | 67f9d50ec61b33cebda08bba5df4dcb03a4d54d3 (diff) | |
| download | emacs-ba755702033b76e68b3231eab6350164e1c88780.tar.gz emacs-ba755702033b76e68b3231eab6350164e1c88780.zip | |
(_XlwMenu_part): Add new member `disabled_foreground'.
Rename `inactive_gc' to `disabled_gc'.
Diffstat (limited to 'lwlib')
| -rw-r--r-- | lwlib/xlwmenuP.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lwlib/xlwmenuP.h b/lwlib/xlwmenuP.h index 1cf8319e101..4dd623d02d8 100644 --- a/lwlib/xlwmenuP.h +++ b/lwlib/xlwmenuP.h | |||
| @@ -20,11 +20,12 @@ typedef struct _window_state | |||
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | /* New fields for the XlwMenu widget instance record */ | 22 | /* New fields for the XlwMenu widget instance record */ |
| 23 | typedef struct _XlwMenu_part | 23 | typedef struct _XlwMenu_part |
| 24 | { | 24 | { |
| 25 | /* slots set by the resources */ | 25 | /* slots set by the resources */ |
| 26 | XFontStruct* font; | 26 | XFontStruct* font; |
| 27 | Pixel foreground; | 27 | Pixel foreground; |
| 28 | Pixel disabled_foreground; | ||
| 28 | Pixel button_foreground; | 29 | Pixel button_foreground; |
| 29 | Dimension margin; | 30 | Dimension margin; |
| 30 | Dimension horizontal_spacing; | 31 | Dimension horizontal_spacing; |
| @@ -44,7 +45,7 @@ typedef struct _XlwMenu_part | |||
| 44 | /* True means top_shadow_color and/or bottom_shadow_color must be freed. */ | 45 | /* True means top_shadow_color and/or bottom_shadow_color must be freed. */ |
| 45 | unsigned free_top_shadow_color_p : 1; | 46 | unsigned free_top_shadow_color_p : 1; |
| 46 | unsigned free_bottom_shadow_color_p : 1; | 47 | unsigned free_bottom_shadow_color_p : 1; |
| 47 | 48 | ||
| 48 | /* State of the XlwMenu */ | 49 | /* State of the XlwMenu */ |
| 49 | int old_depth; | 50 | int old_depth; |
| 50 | widget_value** old_stack; | 51 | widget_value** old_stack; |
| @@ -63,7 +64,7 @@ typedef struct _XlwMenu_part | |||
| 63 | GC foreground_gc; | 64 | GC foreground_gc; |
| 64 | GC button_gc; | 65 | GC button_gc; |
| 65 | GC background_gc; | 66 | GC background_gc; |
| 66 | GC inactive_gc; | 67 | GC disabled_gc; |
| 67 | GC inactive_button_gc; | 68 | GC inactive_button_gc; |
| 68 | GC shadow_top_gc; | 69 | GC shadow_top_gc; |
| 69 | GC shadow_bottom_gc; | 70 | GC shadow_bottom_gc; |
| @@ -73,20 +74,20 @@ typedef struct _XlwMenu_part | |||
| 73 | } XlwMenuPart; | 74 | } XlwMenuPart; |
| 74 | 75 | ||
| 75 | /* Full instance record declaration */ | 76 | /* Full instance record declaration */ |
| 76 | typedef struct _XlwMenuRec | 77 | typedef struct _XlwMenuRec |
| 77 | { | 78 | { |
| 78 | CorePart core; | 79 | CorePart core; |
| 79 | XlwMenuPart menu; | 80 | XlwMenuPart menu; |
| 80 | } XlwMenuRec; | 81 | } XlwMenuRec; |
| 81 | 82 | ||
| 82 | /* New fields for the XlwMenu widget class record */ | 83 | /* New fields for the XlwMenu widget class record */ |
| 83 | typedef struct | 84 | typedef struct |
| 84 | { | 85 | { |
| 85 | int dummy; | 86 | int dummy; |
| 86 | } XlwMenuClassPart; | 87 | } XlwMenuClassPart; |
| 87 | 88 | ||
| 88 | /* Full class record declaration. */ | 89 | /* Full class record declaration. */ |
| 89 | typedef struct _XlwMenuClassRec | 90 | typedef struct _XlwMenuClassRec |
| 90 | { | 91 | { |
| 91 | CoreClassPart core_class; | 92 | CoreClassPart core_class; |
| 92 | XlwMenuClassPart menu_class; | 93 | XlwMenuClassPart menu_class; |