Lines Matching refs:form

41 #define Offset(field) XtOffset(FormWidget, form.field)
50 #define Offset(field) XtOffset(FormConstraints, form.field)
225 fw->form.old_width = fw->core.width;
226 fw->form.old_height = fw->core.height;
227 fw->form.no_refigure = False;
228 fw->form.needs_relayout = False;
229 fw->form.resize_in_layout = True;
236 if (w->form.no_refigure) {
237 w->form.needs_relayout = True;
242 w->form.needs_relayout = False;
259 FormConstraints form = (FormConstraints)(*childP)->core.constraints;
260 form->form.layout_state = LayoutPending;
277 fw->form.preferred_width = (maxx += fw->form.default_spacing);
278 fw->form.preferred_height = (maxy += fw->form.default_spacing);
280 if (fw->form.resize_in_layout
290 fw->form.old_width = fw->core.width;
291 fw->form.old_height = fw->core.height;
302 FormConstraints form = (FormConstraints)w->core.constraints;
306 switch (form->form.layout_state) {
309 form->form.layout_state = LayoutInProgress;
328 x = form->form.dx;
329 y = form->form.dy;
330 if ((ref = form->form.horiz_base) != (Widget)NULL) {
334 if ((ref = form->form.vert_base) != (Widget)NULL) {
339 form->form.layout_state = LayoutDone;
372 FormConstraints form = (FormConstraints)(*childP)->core.constraints;
374 x = TransformCoord( (*childP)->core.x, fw->form.old_width,
375 fw->core.width, form->form.left );
376 y = TransformCoord( (*childP)->core.y, fw->form.old_height,
377 fw->core.height, form->form.top );
379 form->form.virtual_width =
381 + form->form.virtual_width
383 fw->form.old_width, fw->core.width,
384 form->form.right )
387 form->form.virtual_height =
389 + form->form.virtual_height
391 fw->form.old_height, fw->core.height,
392 form->form.bottom )
396 (form->form.virtual_width < 1) ? 1 : form->form.virtual_width;
398 (form->form.virtual_height < 1) ? 1 : form->form.virtual_height;
404 fw->form.old_width = fw->core.width;
405 fw->form.old_height = fw->core.height;
415 FormConstraints form = (FormConstraints)w->core.constraints;
419 !form->form.allow_resize)
437 form->form.virtual_width = w->core.width = allowed.width;
438 form->form.virtual_height = w->core.height = allowed.height;
458 FormConstraints form = (FormConstraints)new->core.constraints;
461 form->form.virtual_width = (int) new->core.width;
462 form->form.virtual_height = (int) new->core.height;
464 if (form->form.dx == default_value)
465 form->form.dx = fw->form.default_spacing;
467 if (form->form.dy == default_value)
468 form->form.dy = fw->form.default_spacing;
482 FormConstraints form;
495 form = (FormConstraints)child->core.constraints;
500 * width or height one (1) in a form widget he will lose, can't win them all.
507 form->form.virtual_width = (int) child->core.width;
509 form->form.virtual_height = (int) child->core.height;
522 reply->width = w->form.preferred_width;
523 reply->height = w->form.preferred_height;
553 fw->form.no_refigure = !doit;
555 if ( XtIsRealized(w) && fw->form.needs_relayout )