Mercurial > hg > xemacs-beta
comparison src/EmacsShell-sub.c @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | 376386a54a3c |
children | 131b0175ea99 |
comparison
equal
deleted
inserted
replaced
15:ad457d5f7d04 | 16:0293115a14e9 |
---|---|
171 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = { | 171 EMACS_SHELL_CLASS_REC_TYPE EMACS_SHELL_CLASS_REC = { |
172 { /* | 172 { /* |
173 * core_class fields | 173 * core_class fields |
174 */ | 174 */ |
175 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC, | 175 /* superclass */ (WidgetClass) &SUPERCLASS_CLASS_REC, |
176 /* class_name */ EMACS_SHELL_CLASS_NAME, | 176 /* class_name */ (String) EMACS_SHELL_CLASS_NAME, |
177 /* size */ sizeof(EMACS_SHELL_REC), | 177 /* size */ sizeof(EMACS_SHELL_REC), |
178 /* Class Initializer */ NULL, | 178 /* Class Initializer */ NULL, |
179 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */ | 179 /* class_part_initialize*/ NULL, /* XtInheritClassPartInitialize, */ |
180 /* Class init'ed ? */ FALSE, | 180 /* Class init'ed ? */ FALSE, |
181 /* initialize */ NULL, | 181 /* initialize */ NULL, |
258 XtNminHeight, base_height + | 258 XtNminHeight, base_height + |
259 cell_height * w->emacs_shell.min_height_cells, | 259 cell_height * w->emacs_shell.min_height_cells, |
260 NULL); | 260 NULL); |
261 } | 261 } |
262 | 262 |
263 static XtGeometryResult SuperClassRootGeometryManager (gw, request, reply) | 263 static XtGeometryResult |
264 Widget gw; | 264 SuperClassRootGeometryManager (Widget gw, |
265 XtWidgetGeometry *request, *reply; | 265 XtWidgetGeometry *request, |
266 XtWidgetGeometry *reply) | |
266 { | 267 { |
267 ShellWidgetClass swc = (ShellWidgetClass) SUPERCLASS_WIDGET_CLASS; | 268 ShellWidgetClass swc = (ShellWidgetClass) SUPERCLASS_WIDGET_CLASS; |
268 ShellClassExtensionRec *scer; | 269 ShellClassExtensionRec *scer; |
269 GenericClassExtRec *gcer; | 270 GenericClassExtRec *gcer; |
270 | 271 |
284 /* call it to actually make the geometry request */ | 285 /* call it to actually make the geometry request */ |
285 scer = (ShellClassExtensionRec *) gcer; | 286 scer = (ShellClassExtensionRec *) gcer; |
286 return (scer->root_geometry_manager)(gw, request, reply); | 287 return (scer->root_geometry_manager)(gw, request, reply); |
287 } | 288 } |
288 | 289 |
289 static XtGeometryResult RootGeometryManager (gw, request, reply) | 290 static XtGeometryResult |
290 Widget gw; | 291 RootGeometryManager (Widget gw, |
291 XtWidgetGeometry *request, *reply; | 292 XtWidgetGeometry *request, |
293 XtWidgetGeometry *reply) | |
292 { | 294 { |
293 EMACS_SHELL_WIDGET w = (EMACS_SHELL_WIDGET) gw; | 295 EMACS_SHELL_WIDGET w = (EMACS_SHELL_WIDGET) gw; |
294 /* OK since this file is not dumped */ | 296 /* OK since this file is not dumped */ |
295 static int reentrant = 0; | 297 static int reentrant = 0; |
296 XtGeometryResult result; | 298 XtGeometryResult result; |