| /xsrc/external/mit/libXaw/dist/src/ |
| H A D | Porthole.c | 160 .slider_width = XtWidth(pw), 162 .canvas_width = XtWidth(child), 178 *widthp = XtWidth(child); 195 if (*widthp < XtWidth(pw)) *widthp = XtWidth(pw); 202 minx = (Position)(XtWidth(pw) - *widthp); 222 if (XtWidth(gw) < 1) 223 XtWidth(gw) = 1; 261 preferred->width = XtWidth(child); 268 else if (preferred->width == XtWidth(p [all...] |
| H A D | Viewport.c | 254 horizontal ? XtWidth(clip) : XtHeight(clip)); 313 XtSetArg(clip_args[arg_cnt], XtNwidth, XtWidth(w)); arg_cnt++; 333 clip_width = XtWidth(w); 336 if (h_bar != NULL && XtWidth(w) > XtWidth(h_bar) + XtBorderWidth(h_bar)) 337 clip_width = (Dimension)(clip_width - (XtWidth(h_bar) + XtBorderWidth(h_bar))); 421 XtResizeWidget(child, XtWidth(child), XtHeight(child), 0); 442 GetGeometry(widget, XtWidth(child), XtHeight(child)); 444 ((FormWidget)w, XtWidth(w), XtHeight(w), True /* True? */); 464 XtWidth(cli [all...] |
| H A D | Form.c | 492 if (width == XtWidth(fw) && height == XtHeight(fw)) 569 x = (Position)(form->form.new_x + XtWidth(*childP) 599 (XtWidth(fw) >= maxx && XtHeight(fw) >= maxy); 641 XtWidth(fw), form->form.left); 700 + XtWidth(ref) 753 XtWidth(fw), form->form.left); 759 fw->form.old_width, XtWidth(fw), 770 XtWidth(fw), form->form.left); 775 fw->form.old_width, XtWidth(fw), 800 fw->form.old_width = XtWidth(f [all...] |
| H A D | SimpleMenu.c | 425 if (XtWidth(smw) == 0) { 427 XtWidth(smw) = width; 480 XtWidth(*entry), XtHeight(*entry))) { 584 if (XtWidth(smw_new) != XtWidth(smw_old)) { 585 smw_new->simple_menu.menu_width = XtWidth(smw_new) != 0; 661 width = XtWidth(w); 671 if (width != XtWidth(w) || height != XtHeight(w)) 711 old_width = XtWidth(entry); 727 XtWidth(entr [all...] |
| H A D | Box.c | 237 bw = (Dimension)(XtWidth(widget) + (XtBorderWidth(widget)<<1) + h_space); 433 DoLayout((BoxWidget)w, XtWidth(w), XtHeight(w), &tmp, &tmp, True); 457 if (XtWidth(bbw) == preferred_width && XtHeight(bbw) == preferred_height) 474 if (preferred_width <= XtWidth(bbw) 541 request->width = XtWidth(w); 548 width = XtWidth(w); 551 XtWidth(w) = request->width; 570 XtWidth(w) = width; 611 if (XtWidth(newbbw) == 0) 612 XtWidth(newbb [all...] |
| H A D | Command.c | 286 cbw->command.highlight_thickness > Min(XtWidth(cbw), XtHeight(cbw)) / 2) 297 rect.width = XtWidth(cbw); 440 > Min(XtWidth(cbw), XtHeight(cbw)) / 2; 463 0, 0, XtWidth(cbw), XtHeight(cbw)); 469 0, 0, XtWidth(cbw), cbw->command.highlight_thickness, 477 XtWidth(cbw) - cbw->command.highlight_thickness, 484 XtWidth(cbw), cbw->command.highlight_thickness, 491 (unsigned)(XtWidth(cbw) - cbw->command.highlight_thickness), 596 corner_size = XtWidth(cbw) < XtHeight(cbw) ? 597 XtWidth(cb [all...] |
| H A D | StripChart.c | 329 if ((w->strip_chart.interval >= XtWidth(w)) || 348 w->strip_chart.interval = repaint_window(w, 0, XtWidth(w)); 403 scalewidth = XtWidth(w); 465 if (XtWidth(w) > NUM_VALUEDATA(w)) 468 j = (int) XtWidth(w); 500 repaint_window(w, 0, XtWidth(w)); 505 w->strip_chart.hiGC, (int)XtWidth(w) - j, 0, (unsigned)j, XtHeight(w), 0, 0); 508 j, 0, (unsigned)(XtWidth(w) - j), XtHeight(w), False); 515 w->strip_chart.hiGC, left, j, XtWidth(w), j);
|
| H A D | Private.h | 52 #ifndef XtWidth 53 #define XtWidth(w) (((RectObj)w)->rectangle.width) macro
|
| H A D | SmeBSB.c | 340 XtWidth(entry), XtHeight(entry)); 360 width = XtWidth(entry) - (entry->sme_bsb.left_margin + 365 width = XtWidth(entry) - (entry->sme_bsb.left_margin + 374 x_loc = XtWidth(entry) - (entry->sme_bsb.right_margin + 379 x_loc = XtWidth(entry) - (entry->sme_bsb.right_margin + 522 if (((mode & CWWidth) && width == XtWidth(entry)) && 550 XtX(w), XtY(entry), XtWidth(entry), XtHeight(entry)); 642 x_loc = XtWidth(entry) - ((entry->sme_bsb.right_margin +
|
| H A D | Tip.c | 307 XtWidth(w) ? XtWidth(w) : 1, 458 XtWidth(info->tip) = (Dimension) (width + info->tip->tip.left_margin + 475 x = (Position)(rx - (XtWidth(info->tip) >> 1)); 481 if (x + XtWidth(info->tip) + XtBorderWidth(info->tip) > scr_width) 482 x = (Position)(scr_width - XtWidth(info->tip) - XtBorderWidth(info->tip)); 498 (unsigned)XtWidth(info->tip), (unsigned)XtHeight(info->tip));
|
| H A D | List.c | 415 Dimension width = XtWidth(w); 424 XtWidth(w) = width; 491 lw->list.freedoms = ((XtWidth(lw) != 0) * WidthLock + 642 Dimension frame_limited_width = (Dimension)(XtWidth(w) - lw->list.internal_width - x); 686 (XtWidth(lw) - (unsigned)lw->list.internal_width - x), 817 new_width = XtWidth(w); 850 width = XtWidth(w); 910 int wid = (int)XtWidth(lw) - (int)(lw->list.internal_width << 1) 1081 if (XtWidth(nl) != XtWidth(c [all...] |
| H A D | Scrollbar.c | 369 result = PICKLENGTH(w, (float)x / (float)XtWidth(w), (float)y / (float)XtHeight(w)); 381 bottom = XawMin(bottom, XtWidth(w) - 1); 398 1, top, (unsigned)(XtWidth(w) - 2), length); 407 1, top, (unsigned)(XtWidth(w) - 2), length, False); 447 w->scrollbar.thickness = XtWidth(w); 450 w->scrollbar.length = XtWidth(w); 512 if (XtWidth(w) == 0) 513 XtWidth(w) = w->scrollbar.orientation == XtorientVertical ? 607 width = (unsigned)(XtWidth(w) - 2);
|
| H A D | Label.c | 497 if (XtWidth(lw) == 0) /* need label.lbm_width */ 498 XtWidth(lw) = (Dimension)(lw->label.label_width 626 _Reposition(lw, XtWidth(w), XtHeight(w), &dx, &dy); 696 if (XtWidth(curlw) == XtWidth(reqlw) && !checks[WIDTH]) 697 XtWidth(newlw) = (Dimension)(newlw->label.label_width 724 _Reposition(newlw, XtWidth(curlw), XtHeight(curlw), &dx, &dy); 760 else if (preferred->width == XtWidth(w) && preferred->height == XtHeight(w))
|
| H A D | MenuButton.c | 238 menu_width = XtWidth(menu) + (XtBorderWidth(menu) << 1); 253 menu_x = button_x + XtWidth(w) + (XtBorderWidth(w) << 1);
|
| H A D | Sme.c | 263 if ((mode & CWWidth) && width == XtWidth(entry))
|
| H A D | SmeLine.c | 233 XtWidth(w), entry->sme_line.line_width);
|
| H A D | Panner.c | 422 Position maxx = (Position)(XtWidth(pw) - pad - pw->panner.knob_width); 508 pw->panner.canvas_width = XtWidth(pw); 512 if (XtWidth(pw) <= hpad) 517 pw->panner.haspect = ((double)XtWidth(pw) - hpad + .5) 652 if (XtWidth(req) < 1) 653 XtWidth(cnew) = defwidth; 857 else if (pref->width == XtWidth(pw) && pref->height == XtHeight(pw)) 969 (int)XtWidth(pw) - pad, &relx);
|
| H A D | Paned.c | 100 ((vertical) ? XtHeight(paned) : XtWidth(paned)) 807 XtResizeWidget(*childP, XtWidth(pw), (Dimension)pane->size, 0); 810 changes.x = XtWidth(pw) - pw->paned.grip_indent - 811 XtWidth(grip) - (XtBorderWidth(grip) << 1); 822 changes.x = XtX(*childP) + XtWidth(*childP) - 823 (XtWidth(grip) >> 1) - XtBorderWidth(grip) + 1648 XtWidth(pw) = on_size; 1662 XtWidth(pw) = old_paned_size; 1680 request->width = XtWidth(w); 1899 XtWidth(new_p [all...] |
| H A D | Dialog.c | 331 XtWidth(w) = XtWidth(old);
|
| H A D | Text.c | 740 x = (Position)XtWidth(vbar); 745 width = (Dimension)(XtWidth(ctx) - XtWidth(vbar) - XtBorderWidth(vbar)); 746 if (width > XtWidth(ctx)) 747 width = XtWidth(ctx); 750 width = XtWidth(ctx); 778 width = XtWidth(vbar); 796 ctx->text.r_margin.left += (Position) (XtWidth(vbar) + XtBorderWidth(vbar)); 828 ctx->text.r_margin.left = (Position)(ctx->text.r_margin.left - (XtWidth(vbar) + XtBorderWidth(vbar))); 1512 denom = (float)((int)XtWidth(ct [all...] |
| H A D | AsciiSink.c | 791 width = (int)XtWidth(ctx) - RHMargins(ctx); 924 if (paint->x < XtWidth(ctx) && paint->x + paint->width > 0) { 976 if (paint->x < XtWidth(ctx) && paint->x + paint->width > 0) { 1020 if ((x > XtWidth(ctx)) || width <= -x) /* Don't draw if we can't see it */ 1054 max_x = (int)XtWidth(ctx) - ctx->text.r_margin.right; 1734 width = (int)XtWidth(ctx) - RHMargins(ctx);
|
| H A D | MultiSink.c | 353 max_x = (int)XtWidth(ctx) - ctx->text.r_margin.right; 766 width = (int)XtWidth(ctx) -
|
| H A D | DisplayList.c | 547 ((float)XtWidth(w) * ((float)(x).pos / (float)(x).denom)) : \ 548 (float)((x).high ? XtWidth(w) - (x).pos : (x).pos))) 1387 if ((width = XtWidth(w) - src_x) < 0)
|
| H A D | TextSink.c | 431 x2 = (Position) (XawMin(x + (int)width, (int)XtWidth(xaw) - xaw->text.r_margin.right));
|
| H A D | TextAction.c | 3003 max_width = Max(0, (int)XtWidth(ctx) - RHMargins(ctx) - cursor.width); 3659 wwidth = (int)XtWidth(ctx) - (int)HMargins(ctx);
|