Lines Matching refs:fw

451     FormWidget fw = (FormWidget)cnew;
453 fw->form.old_width = fw->form.old_height = 0;
454 fw->form.no_refigure = False;
455 fw->form.needs_relayout = False;
456 fw->form.resize_in_layout = True;
457 fw->form.resize_is_no_op = False;
483 FormWidget fw = (FormWidget)w;
492 if (width == XtWidth(fw) && height == XtHeight(fw))
504 fw->form.resize_is_no_op = True;
515 fw->form.resize_is_no_op = False;
530 * fw - Form widget
545 Layout(FormWidget fw, unsigned int width _X_UNUSED, unsigned int height _X_UNUSED,
548 int num_children = (int)fw->composite.num_children;
549 WidgetList children = fw->composite.children;
581 fw->form.preferred_width = (maxx = (Dimension)(maxx + fw->form.default_spacing));
582 fw->form.preferred_height = (maxy = (Dimension)(maxy + fw->form.default_spacing));
584 if (fw->form.resize_in_layout) {
588 (Boolean)ChangeFormGeometry((Widget)fw, False, maxx, maxy, NULL, NULL);
591 fw->form.old_width = fw->core.width;
592 fw->form.old_height = fw->core.height;
599 (XtWidth(fw) >= maxx && XtHeight(fw) >= maxy);
602 ResizeChildren((Widget)fw);
607 fw->form.needs_relayout = False;
625 FormWidget fw = (FormWidget)w;
626 int num_children = (int)fw->composite.num_children;
627 WidgetList children = fw->composite.children;
639 if (fw->form.old_width && fw->form.old_height) {
640 x = (Position)TransformCoord(form->form.new_x, fw->form.old_width,
641 XtWidth(fw), form->form.left);
642 y = (Position)TransformCoord(form->form.new_y, fw->form.old_height,
643 XtHeight(fw), form->form.top);
650 if (fw->form.no_refigure) {
732 FormWidget fw = (FormWidget)w;
733 WidgetList children = fw->composite.children;
734 int num_children = (int)fw->composite.num_children;
744 if (!fw->form.resize_is_no_op)
752 x = TransformCoord(form->form.virtual_x, fw->form.old_width,
753 XtWidth(fw), form->form.left);
754 y = TransformCoord(form->form.virtual_y, fw->form.old_height,
755 XtHeight(fw), form->form.top);
759 fw->form.old_width, XtWidth(fw),
765 fw->form.old_height, XtHeight(fw),
769 x = TransformCoord(XtX(*childP), fw->form.old_width,
770 XtWidth(fw), form->form.left);
771 y = TransformCoord(XtY(*childP), fw->form.old_height,
772 XtHeight(fw), form->form.top);
775 fw->form.old_width, XtWidth(fw),
780 fw->form.old_height, XtHeight(fw),
800 fw->form.old_width = XtWidth(fw);
801 fw->form.old_height = XtHeight(fw);
811 FormWidget fw = (FormWidget)XtParent(w);
822 if (fw->form.needs_relayout)
823 (*((FormWidgetClass)fw->core.widget_class)->form_class.layout)
824 (fw, 0, 0, True);
843 if (fw->form.needs_relayout)
844 (*((FormWidgetClass)fw->core.widget_class)->form_class.layout)
845 (fw, 0, 0, True);
861 fw->form.resize_in_layout = False;
863 (*((FormWidgetClass)fw->core.widget_class)->form_class.layout)
864 (fw, XtWidth(w), XtHeight(w), False);
872 fw->form.resize_in_layout = True;
875 fw->form.preferred_width,
876 fw->form.preferred_height,
880 || (ret_width >= fw->form.preferred_width
881 && ret_height >= fw->form.preferred_height))
887 if ((*((FormWidgetClass)fw->core.widget_class)->form_class.layout)
888 (fw, XtWidth(w), XtHeight(w), False)) {
890 int num_children = (int)fw->composite.num_children;
891 WidgetList children = fw->composite.children;
893 if (fw->form.no_refigure) {
912 fw->form.old_width = XtWidth(fw);
913 fw->form.old_height = XtHeight(fw);
969 FormWidget fw = (FormWidget)cnew->core.parent;
979 form->form.dx = fw->form.default_spacing;
982 form->form.dy = fw->form.default_spacing;
1023 FormWidget fw = (FormWidget)w;
1025 int num_children = (int)fw->composite.num_children;
1028 (fw, XtWidth(w), XtHeight(w), True);
1030 fw->form.old_width = XtWidth(w);
1031 fw->form.old_height = XtHeight(w);
1032 for (children = childP = fw->composite.children;
1085 FormWidget fw = (FormWidget)w;
1086 int num_children = (int)fw->composite.num_children;
1087 WidgetList children = fw->composite.children;
1089 if ((fw->form.no_refigure = !force) == True || !XtIsRealized(w))