Searched refs:preferred (Results 1 - 11 of 11) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DPorthole.c244 static XtGeometryResult QueryGeometry (gw, intended, preferred)
246 XtWidgetGeometry *intended, *preferred;
253 preferred->request_mode = SIZEONLY;
254 preferred->width = child->core.width;
255 preferred->height = child->core.height;
258 intended->width == preferred->width &&
259 intended->height == preferred->height)
261 else if (preferred->width == pw->core.width &&
262 preferred->height == pw->core.height)
H A DViewport.c473 Boolean query; /* query child's preferred geom? */
501 XtWidgetGeometry preferred; local
528 preferred.width = child->core.width;
529 preferred.height = child->core.height;
534 (void) XtQueryGeometry( child, &intended, &preferred );
535 if ( !(preferred.request_mode & CWWidth) )
536 preferred.width = intended.width;
537 if ( !(preferred.request_mode & CWHeight) )
538 preferred.height = intended.height;
550 (int)preferred
683 XtWidgetGeometry preferred; local
[all...]
H A DBox.c287 * Calculate preferred size, given constraining box, caching it in the widget.
291 static XtGeometryResult PreferredSize(widget, constraint, preferred)
293 XtWidgetGeometry *constraint, *preferred;
312 preferred->request_mode = CWWidth | CWHeight;
313 preferred->width = preferred_width;
314 preferred->height = preferred_height;
373 preferred->request_mode = CWWidth | CWHeight;
374 preferred->width = w->box.preferred_width = preferred_width;
375 preferred->height = w->box.preferred_height = preferred_height;
H A DLabel.c757 static XtGeometryResult QueryGeometry(w, intended, preferred)
759 XtWidgetGeometry *intended, *preferred;
763 preferred->request_mode = CWWidth | CWHeight;
764 preferred->width = (lw->label.label_width +
767 preferred->height = lw->label.label_height +
771 intended->width == preferred->width &&
772 intended->height == preferred->height)
774 else if (preferred->width == w->core.width &&
775 preferred->height == w->core.height)
H A DTree.c667 static XtGeometryResult QueryGeometry (w, intended, preferred)
669 XtWidgetGeometry *intended, *preferred;
673 preferred->request_mode = (CWWidth | CWHeight);
674 preferred->width = tw->tree.maxwidth;
675 preferred->height = tw->tree.maxheight;
679 intended->width == preferred->width &&
680 intended->height == preferred->height)
682 else if (preferred->width == w->core.width &&
683 preferred->height == w->core.height)
H A DSimpleMenu.c1185 XtWidgetGeometry preferred; local
1190 XtQueryGeometry((Widget) *entry, (XtWidgetGeometry *)NULL, &preferred);
1192 if (preferred.request_mode & CWWidth)
1193 width = preferred.width;
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Viewport.c415 Boolean query; /* query child's preferred geom? */
444 XtWidgetGeometry preferred; local
471 preferred.width = child->core.width;
472 preferred.height = child->core.height;
477 (void) XtQueryGeometry( child, &intended, &preferred );
478 if ( !(preferred.request_mode & CWWidth) )
479 preferred.width = intended.width;
480 if ( !(preferred.request_mode & CWHeight) )
481 preferred.height = intended.height;
492 if (w->viewport.allowhoriz && preferred
621 XtWidgetGeometry preferred; local
[all...]
H A DXaw3_1Box.c258 * Calculate preferred size, given constraining box, caching it in the widget.
262 static XtGeometryResult PreferredSize(widget, constraint, preferred)
264 XtWidgetGeometry *constraint, *preferred;
283 preferred->request_mode = CWWidth | CWHeight;
284 preferred->width = preferred_width;
285 preferred->height = preferred_height;
344 preferred->request_mode = CWWidth | CWHeight;
345 preferred->width = w->box.preferred_width = preferred_width;
346 preferred->height = w->box.preferred_height = preferred_height;
H A DXaw3_1Label.c462 static XtGeometryResult QueryGeometry(w, intended, preferred)
464 XtWidgetGeometry *intended, *preferred;
468 preferred->request_mode = CWWidth | CWHeight;
469 preferred->width = lw->label.label_width + 2 * lw->label.internal_width;
470 preferred->height = lw->label.label_height + 2*lw->label.internal_height;
473 intended->width == preferred->width &&
474 intended->height == preferred->height)
476 else if (preferred->width == w->core.width &&
477 preferred->height == w->core.height)
H A DXaw3_1SimpleMenu.c1148 XtWidgetGeometry preferred; local
1153 XtQueryGeometry((Widget)*entry, NULL, &preferred);
1155 if (preferred.request_mode & CWWidth)
1156 width = preferred.width;
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_edid.c66 /* Monitor forgot to set the first detailed is preferred bit. */
76 bool preferred; member in struct:detailed_mode_closure
1200 * edid_fixup_preferred - set preferred modes based on quirk list
1204 * Walk the mode list for @connector, clearing the preferred status
1230 /* Largest mode is preferred */
2171 if (closure->preferred)
2176 closure->preferred = 0;
2198 if (closure.preferred && !version_greater(edid, 1, 3))
2199 closure.preferred =
2917 * EDID spec says modes should be preferred i
[all...]

Completed in 74 milliseconds