Lines Matching refs:core

61   { /* core fields */
144 prep.slider_x = -child->core.x; /* porthole is "inner" */
145 prep.slider_y = -child->core.y; /* child is outer since it is larger */
146 prep.slider_width = pw->core.width;
147 prep.slider_height = pw->core.height;
148 prep.canvas_width = child->core.width;
149 prep.canvas_height = child->core.height;
165 *xp = child->core.x; /* default to current values */
166 *yp = child->core.y;
167 *widthp = child->core.width;
168 *heightp = child->core.height;
180 if (*widthp < pw->core.width) *widthp = pw->core.width;
181 if (*heightp < pw->core.height) *heightp = pw->core.height;
187 minx = ((Position) pw->core.width) - ((Position) *widthp);
188 miny = ((Position) pw->core.height) - ((Position) *heightp);
214 if (gw->core.width < 1) gw->core.width = 1;
215 if (gw->core.height < 1) gw->core.height = 1;
254 preferred->width = child->core.width;
255 preferred->height = child->core.height;
261 else if (preferred->width == pw->core.width &&
262 preferred->height == pw->core.height)
276 PortholeWidget pw = (PortholeWidget) w->core.parent;
313 if (child->core.x != reply->x) {
315 child->core.x = reply->x;
317 if (child->core.y != reply->y) {
319 child->core.y = reply->y;
321 if (child->core.width != reply->width) {
323 child->core.width = reply->width;
325 if (child->core.height != reply->height) {
327 child->core.height = reply->height;
347 if (pw->core.width == 0) {
348 geom.width = child->core.width;
351 if (pw->core.height == 0) {
352 geom.height = child->core.height;
361 XtResizeWidget (child, Max (child->core.width, pw->core.width),
362 Max (child->core.height, pw->core.height), 0);