Mercurial > hg > xemacs-beta
comparison src/EmacsShell-sub.c @ 440:8de8e3f6228a r21-2-28
Import from CVS: tag r21-2-28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:33:38 +0200 |
parents | 3ecd8885ac67 |
children | 8c5cf108f035 |
comparison
equal
deleted
inserted
replaced
439:357dd071b03c | 440:8de8e3f6228a |
---|---|
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, XtRPosition, sizeof(Position), | 140 { XtNx, XtCPosition, |
141 coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE}, | 141 XtRPosition, sizeof (Position), |
142 {XtNy, XtCPosition, XtRPosition, sizeof(Position), | 142 coreoffset (x), XtRImmediate, (XtPointer)BIGSIZE }, |
143 coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE}, | 143 { XtNy, XtCPosition, |
144 #endif | 144 XtRPosition, sizeof (Position), |
145 { XtNwidthCells, XtCWidthCells, XtRInt, sizeof(int), | 145 coreoffset (y), XtRImmediate, (XtPointer)BIGSIZE }, |
146 offset (width_cells), XtRImmediate, (XtPointer)0}, | 146 #endif |
147 { XtNheightCells, XtCHeightCells, XtRInt, sizeof(int), | 147 { XtNwidthCells, XtCWidthCells, |
148 offset (height_cells), XtRImmediate, (XtPointer)0}, | 148 XtRInt, sizeof (int), |
149 { XtNminWidthCells, XtCMinWidthCells, XtRInt, sizeof(int), | 149 offset (width_cells), XtRImmediate, (XtPointer)0 }, |
150 offset (min_width_cells), XtRImmediate, (XtPointer)0}, | 150 { XtNheightCells, XtCHeightCells, |
151 { XtNminHeightCells, XtCMinHeightCells, XtRInt, sizeof(int), | 151 XtRInt, sizeof (int), |
152 offset (min_height_cells), XtRImmediate, (XtPointer)0}, | 152 offset (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 }, | |
153 }; | 159 }; |
154 | 160 |
155 static CompositeClassExtensionRec compositeClassExtRec = { | 161 static CompositeClassExtensionRec compositeClassExtRec = { |
156 NULL, | 162 NULL, |
157 NULLQUARK, | 163 NULLQUARK, |
158 XtCompositeExtensionVersion, | 164 XtCompositeExtensionVersion, |
159 sizeof(CompositeClassExtensionRec), | 165 sizeof (CompositeClassExtensionRec), |
160 TRUE, | 166 TRUE, |
161 }; | 167 }; |
162 | 168 |
163 static ShellClassExtensionRec shellClassExtRec = { | 169 static ShellClassExtensionRec shellClassExtRec = { |
164 NULL, | 170 NULL, |
165 NULLQUARK, | 171 NULLQUARK, |
166 XtShellExtensionVersion, | 172 XtShellExtensionVersion, |
167 sizeof(ShellClassExtensionRec), | 173 sizeof (ShellClassExtensionRec), |
168 RootGeometryManager | 174 RootGeometryManager |
169 }; | 175 }; |
170 | 176 |
171 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = { | 177 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = { |
172 { /* | 178 { /* |
173 * core_class fields | 179 * core_class fields |
174 */ | 180 */ |
175 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC, | 181 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC, |
176 /* class_name */ (String) EMACS_SHELL_CLASS_NAME, | 182 /* class_name */ (String) EMACS_SHELL_CLASS_NAME, |
177 /* size */ sizeof(EMACS_SHELL_REC), | 183 /* size */ sizeof (EMACS_SHELL_REC), |
178 /* Class Initializer */ NULL, | 184 /* Class Initializer */ NULL, |
179 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */ | 185 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */ |
180 /* Class init'ed ? */ FALSE, | 186 /* Class init'ed ? */ FALSE, |
181 /* initialize */ NULL, | 187 /* initialize */ NULL, |
182 /* initialize_notify */ NULL, | 188 /* initialize_notify */ NULL, |