comparison src/EmacsShell-sub.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
135 #ifdef LWLIB_USES_MOTIF 135 #ifdef LWLIB_USES_MOTIF
136 /* *** BOGOSITY^10! *** The Motif VendorShell fucks around with 136 /* *** BOGOSITY^10! *** The Motif VendorShell fucks around with
137 the default values for X and Y, for no obvious reason. This 137 the default values for X and Y, for no obvious reason. This
138 causes Shell to indicate that the defaults of (0,0) were 138 causes Shell to indicate that the defaults of (0,0) were
139 program-specified, instead of letting the WM do what it wants. */ 139 program-specified, instead of letting the WM do what it wants. */
140 { XtNx, XtCPosition, 140 {XtNx, XtCPosition, XtRPosition, sizeof(Position),
141 XtRPosition, sizeof (Position), 141 coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE},
142 coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE }, 142 {XtNy, XtCPosition, XtRPosition, sizeof(Position),
143 { XtNy, XtCPosition, 143 coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE},
144 XtRPosition, sizeof (Position), 144 #endif
145 coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE }, 145 { XtNwidthCells, XtCWidthCells, XtRInt, sizeof(int),
146 #endif 146 offset (width_cells), XtRImmediate, (XtPointer)0},
147 { XtNwidthCells, XtCWidthCells, 147 { XtNheightCells, XtCHeightCells, XtRInt, sizeof(int),
148 XtRInt, sizeof (int), 148 offset (height_cells), XtRImmediate, (XtPointer)0},
149 offset (width_cells), XtRImmediate, (XtPointer)0 }, 149 { XtNminWidthCells, XtCMinWidthCells, XtRInt, sizeof(int),
150 { XtNheightCells, XtCHeightCells, 150 offset (min_width_cells), XtRImmediate, (XtPointer)0},
151 XtRInt, sizeof (int), 151 { XtNminHeightCells, XtCMinHeightCells, XtRInt, sizeof(int),
152 offset (height_cells), XtRImmediate, (XtPointer)0 }, 152 offset (min_height_cells), XtRImmediate, (XtPointer)0},
153 { XtNminWidthCells, XtCMinWidthCells,
154 XtRInt, sizeof (int),
155 offset (min_width_cells), XtRImmediate, (XtPointer)0 },
156 { XtNminHeightCells, XtCMinHeightCells,
157 XtRInt, sizeof (int),
158 offset (min_height_cells), XtRImmediate, (XtPointer)0 },
159 }; 153 };
160 154
161 static CompositeClassExtensionRec compositeClassExtRec = { 155 static CompositeClassExtensionRec compositeClassExtRec = {
162 NULL, 156 NULL,
163 NULLQUARK, 157 NULLQUARK,
164 XtCompositeExtensionVersion, 158 XtCompositeExtensionVersion,
165 sizeof (CompositeClassExtensionRec), 159 sizeof(CompositeClassExtensionRec),
166 TRUE, 160 TRUE,
167 }; 161 };
168 162
169 static ShellClassExtensionRec shellClassExtRec = { 163 static ShellClassExtensionRec shellClassExtRec = {
170 NULL, 164 NULL,
171 NULLQUARK, 165 NULLQUARK,
172 XtShellExtensionVersion, 166 XtShellExtensionVersion,
173 sizeof (ShellClassExtensionRec), 167 sizeof(ShellClassExtensionRec),
174 RootGeometryManager 168 RootGeometryManager
175 }; 169 };
176 170
177 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = { 171 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = {
178 { /* 172 { /*
179 * core_class fields 173 * core_class fields
180 */ 174 */
181 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC, 175 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC,
182 /* class_name */ (String) EMACS_SHELL_CLASS_NAME, 176 /* class_name */ (String) EMACS_SHELL_CLASS_NAME,
183 /* size */ sizeof (EMACS_SHELL_REC), 177 /* size */ sizeof(EMACS_SHELL_REC),
184 /* Class Initializer */ NULL, 178 /* Class Initializer */ NULL,
185 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */ 179 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */
186 /* Class init'ed ? */ FALSE, 180 /* Class init'ed ? */ FALSE,
187 /* initialize */ NULL, 181 /* initialize */ NULL,
188 /* initialize_notify */ NULL, 182 /* initialize_notify */ NULL,