Mercurial > hg > xemacs-beta
comparison src/EmacsManager.c @ 183:e121b013d1f0 r20-3b18
Import from CVS: tag r20-3b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:54:23 +0200 |
parents | 0293115a14e9 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
182:f07455f06202 | 183:e121b013d1f0 |
---|---|
68 #ifdef LWLIB_USES_MOTIF | 68 #ifdef LWLIB_USES_MOTIF |
69 /* superclass */ (WidgetClass) &xmManagerClassRec, | 69 /* superclass */ (WidgetClass) &xmManagerClassRec, |
70 #else | 70 #else |
71 /* superclass */ (WidgetClass) &compositeClassRec, | 71 /* superclass */ (WidgetClass) &compositeClassRec, |
72 #endif | 72 #endif |
73 /* class_name */ (String) "EmacsManager", | 73 /* class_name */ "EmacsManager", |
74 /* widget_size */ sizeof(EmacsManagerRec), | 74 /* widget_size */ sizeof(EmacsManagerRec), |
75 /* class_initialize */ ClassInitialize, | 75 /* class_initialize */ ClassInitialize, |
76 /* class_part_init */ NULL, | 76 /* class_part_init */ NULL, |
77 /* class_inited */ FALSE, | 77 /* class_inited */ FALSE, |
78 /* initialize */ NULL, | 78 /* initialize */ NULL, |
111 /* extension */ NULL | 111 /* extension */ NULL |
112 }, | 112 }, |
113 #ifdef LWLIB_USES_MOTIF | 113 #ifdef LWLIB_USES_MOTIF |
114 { | 114 { |
115 /* constraint_class fields */ | 115 /* constraint_class fields */ |
116 NULL, /* resource list */ | 116 NULL, /* resource list */ |
117 0, /* num resources */ | 117 0, /* num resources */ |
118 0, /* constraint size */ | 118 0, /* constraint size */ |
119 (XtInitProc)NULL, /* init proc */ | 119 (XtInitProc)NULL, /* init proc */ |
120 (XtWidgetProc)NULL, /* destroy proc */ | 120 (XtWidgetProc)NULL, /* destroy proc */ |
121 (XtSetValuesFunc)NULL, /* set values proc */ | 121 (XtSetValuesFunc)NULL, /* set values proc */ |
122 NULL, /* extension */ | 122 NULL, /* extension */ |
123 }, | 123 }, |
124 { | 124 { |
125 /* manager_class fields */ | 125 /* manager_class fields */ |
126 XtInheritTranslations, /* translations */ | 126 XtInheritTranslations, /* translations */ |
216 static void | 216 static void |
217 Realize (Widget w, Mask *valueMask, XSetWindowAttributes *attributes) | 217 Realize (Widget w, Mask *valueMask, XSetWindowAttributes *attributes) |
218 { | 218 { |
219 attributes->bit_gravity = NorthWestGravity; | 219 attributes->bit_gravity = NorthWestGravity; |
220 *valueMask |= CWBitGravity; | 220 *valueMask |= CWBitGravity; |
221 | 221 |
222 XtCreateWindow (w, (unsigned) InputOutput, (Visual *) CopyFromParent, | 222 XtCreateWindow (w, (unsigned) InputOutput, (Visual *) CopyFromParent, |
223 *valueMask, attributes); | 223 *valueMask, attributes); |
224 } | 224 } |
225 | 225 |
226 static void | 226 static void |