| /xsrc/external/mit/libXaw/dist/src/ |
| H A D | Porthole.c | 161 .slider_height = XtHeight(pw), 163 .canvas_height = XtHeight(child) 179 *heightp = XtHeight(child); 196 if (*heightp < XtHeight(pw)) *heightp = XtHeight(pw); 203 miny = (Position)(XtHeight(pw) - *heightp); 224 if (XtHeight(gw) < 1) 225 XtHeight(gw) = 1; 262 preferred->height = XtHeight(child); 269 preferred->height == XtHeight(p [all...] |
| H A D | Viewport.c | 254 horizontal ? XtWidth(clip) : XtHeight(clip)); 314 XtSetArg(clip_args[arg_cnt], XtNheight, XtHeight(w)); arg_cnt++; 334 clip_height = XtHeight(w); 339 if (v_bar != NULL && XtHeight(w) > XtHeight(v_bar) + XtBorderWidth(v_bar)) 340 clip_height = (Dimension)(clip_height - (XtHeight(v_bar) + XtBorderWidth(v_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? */); 468 XtHeight(cli [all...] |
| H A D | Form.c | 492 if (width == XtWidth(fw) && height == XtHeight(fw)) 574 y = (Position)(form->form.new_y + XtHeight(*childP) 599 (XtWidth(fw) >= maxx && XtHeight(fw) >= maxy); 643 XtHeight(fw), form->form.top); 709 + XtHeight(ref) 755 XtHeight(fw), form->form.top); 765 fw->form.old_height, XtHeight(fw), 772 XtHeight(fw), form->form.top); 780 fw->form.old_height, XtHeight(fw), 801 fw->form.old_height = XtHeight(f [all...] |
| H A D | SimpleMenu.c | 432 if (XtHeight(smw) == 0) { 434 XtHeight(smw) = height; 480 XtWidth(*entry), XtHeight(*entry))) { 588 if (XtHeight(smw_new) != XtHeight(smw_old)) { 589 smw_new->simple_menu.menu_height = XtHeight(smw_new) != 0; 662 height = XtHeight(w); 671 if (width != XtWidth(w) || height != XtHeight(w)) 712 old_height = XtHeight(entry); 728 XtHeight(entr [all...] |
| H A D | SmeLine.c | 160 if (XtHeight(entry) == 0) 161 XtHeight(entry) = entry->sme_line.line_width; 226 int y = XtY(w) + (((int)XtHeight(w) - entry->sme_line.line_width) >> 1);
|
| H A D | Dialog.c | 222 XtHeight(dw->dialog.labelW) < XtHeight(dw->dialog.iconW)) { 223 XtSetArg(arglist[0], XtNheight, XtHeight(dw->dialog.iconW)); 319 XtHeight(w->dialog.labelW) <= XtHeight(w->dialog.iconW)) { 320 XtSetArg(args[num_args], XtNheight, XtHeight(w->dialog.iconW)); 332 XtHeight(w) = XtHeight(old);
|
| H A D | StripChart.c | 354 int y = (int)(XtHeight(w) - XtHeight(w) * value 359 1, (unsigned)(XtHeight(w) - y)); 428 int y = (int)(XtHeight(w) - (XtHeight(w) * w->strip_chart.valuedata[i]) 432 i, y, 1, (unsigned)(XtHeight(w) - y)); 437 int j = i * ((int)XtHeight(w) / w->strip_chart.scale); 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); 513 j = i * (XtHeight( [all...] |
| H A D | AsciiText.c | 278 if (XtHeight(request) == DEFAULT_TEXT_HEIGHT) 279 XtHeight(cnew) = DEFAULT_TEXT_HEIGHT; 317 if (XtHeight(w) == DEFAULT_TEXT_HEIGHT) 318 XtHeight(w) = (Dimension)(VMargins(w) + XawTextSinkMaxHeight(w->text.sink, 1));
|
| H A D | Box.c | 275 bh = (Dimension)(XtHeight(widget) + (XtBorderWidth(widget) << 1)); 433 DoLayout((BoxWidget)w, XtWidth(w), XtHeight(w), &tmp, &tmp, True); 457 if (XtWidth(bbw) == preferred_width && XtHeight(bbw) == preferred_height) 475 && preferred_height <= XtHeight(bbw)) 543 request->height = XtHeight(w); 549 height = XtHeight(w); 552 XtHeight(w) = request->height; 571 XtHeight(w) = height; 614 if (XtHeight(newbbw) == 0) 615 XtHeight(newbb [all...] |
| H A D | Command.c | 286 cbw->command.highlight_thickness > Min(XtWidth(cbw), XtHeight(cbw)) / 2) 298 rect.height = XtHeight(cbw); 440 > Min(XtWidth(cbw), XtHeight(cbw)) / 2; 463 0, 0, XtWidth(cbw), XtHeight(cbw)); 474 (unsigned)(XtHeight(cbw) - (cbw->command.highlight_thickness<<1)), 480 (unsigned)(XtHeight(cbw) - (cbw->command.highlight_thickness<<1)), 483 0, XtHeight(cbw) - cbw->command.highlight_thickness, 492 (unsigned)(XtHeight(cbw) - cbw->command.highlight_thickness)); 596 corner_size = XtWidth(cbw) < XtHeight(cbw) ? 597 XtWidth(cbw) : XtHeight(cb [all...] |
| H A D | Private.h | 55 #ifndef XtHeight 56 #define XtHeight(w) (((RectObj)w)->rectangle.height) macro
|
| H A D | SmeBSB.c | 340 XtWidth(entry), XtHeight(entry)); 391 y_loc += ((XtHeight(entry) - 400 y_loc += ((XtHeight(entry) - 523 ((mode & CWHeight) && height == XtHeight(entry))) 550 XtX(w), XtY(entry), XtWidth(entry), XtHeight(entry)); 629 y_loc = XtY(entry) + ((XtHeight(entry) - 645 y_loc = XtY(entry) + ((XtHeight(entry) -
|
| H A D | List.c | 416 Dimension height = XtHeight(w); 425 XtHeight(w) = height; 492 (XtHeight(lw) != 0) * HeightLock + 643 Dimension frame_limited_height= (Dimension)(XtHeight(w) - lw->list.internal_height - y); 684 (XtHeight(lw) - (lw->list.internal_height << 1)), 822 new_height = XtHeight(w); 851 height = XtHeight(w); 1086 if (XtHeight(nl) != XtHeight(cl)) 1088 if (XtHeight(n [all...] |
| H A D | Tip.c | 308 XtHeight(w) ? XtHeight(w) : 1, 460 XtHeight(info->tip) = (Dimension) (height + info->tip->tip.top_margin + 489 if (y + XtHeight(info->tip) + XtBorderWidth(info->tip) > scr_height) 490 y = (Position)(y - (XtHeight(info->tip) + XtBorderWidth(info->tip) + 498 (unsigned)XtWidth(info->tip), (unsigned)XtHeight(info->tip));
|
| H A D | Label.c | 448 lw->label.lbm_y = (int)((XtHeight(lw) 492 if (XtHeight(lw) == 0) 493 XtHeight(lw) = (Dimension)(lw->label.label_height + 2 * lw->label.internal_height); 626 _Reposition(lw, XtWidth(w), XtHeight(w), &dx, &dy); 690 if (XtHeight(curlw) == XtHeight(reqlw) && !checks[HEIGHT]) 691 XtHeight(newlw) = (Dimension)(newlw->label.label_height + 724 _Reposition(newlw, XtWidth(curlw), XtHeight(curlw), &dx, &dy); 760 else if (preferred->width == XtWidth(w) && preferred->height == XtHeight(w))
|
| H A D | Scrollbar.c | 369 result = PICKLENGTH(w, (float)x / (float)XtWidth(w), (float)y / (float)XtHeight(w)); 383 bottom = XawMin(bottom, XtHeight(w) - 1); 395 top, 1, length, (unsigned)(XtHeight(w) - 2)); 404 top, 1, length, (unsigned)(XtHeight(w) - 2), False); 446 w->scrollbar.length = XtHeight(w); 451 w->scrollbar.thickness = XtHeight(w); 516 if (XtHeight(w) == 0) 517 XtHeight(w) = w->scrollbar.orientation == XtorientHorizontal ? 602 height = (unsigned)(XtHeight(w) - 2);
|
| H A D | MenuButton.c | 239 button_height = XtHeight(w) + (XtBorderWidth(w) << 1); 240 menu_height = XtHeight(menu) + (XtBorderWidth(menu) << 1);
|
| H A D | Panner.c | 423 Position maxy = (Position)(XtHeight(pw) - pad - pw->panner.knob_height); 510 pw->panner.canvas_height = XtHeight(pw); 514 if (XtHeight(pw) <= vpad) 519 pw->panner.vaspect = ((double)XtHeight(pw) - vpad + .5) 654 if (XtHeight(req) < 1) 655 XtHeight(cnew) = defheight; 857 else if (pref->width == XtWidth(pw) && pref->height == XtHeight(pw)) 971 (int)XtHeight(pw) - pad, &rely);
|
| H A D | Paned.c | 100 ((vertical) ? XtHeight(paned) : XtWidth(paned)) 812 changes.y = XtY(*childP) + XtHeight(*childP) - 813 (XtHeight(grip) >> 1) - XtBorderWidth(grip) + 819 XtResizeWidget(*childP, (Dimension)pane->size, (Dimension)XtHeight(pw), 0); 825 changes.y = XtHeight(pw) - pw->paned.grip_indent - 826 XtHeight(grip) - (XtBorderWidth(grip) << 1); 1646 XtHeight(pw) = on_size; 1657 XtHeight(pw) = old_paned_size; 1682 request->height = XtHeight(w); 1901 XtHeight(new_p [all...] |
| H A D | Text.c | 743 y = (Position)(XtHeight(ctx) - XtHeight(hbar) - XtBorderWidth(hbar)); 751 height = XtHeight(hbar); 777 height = XtHeight(ctx); 855 bottom = ctx->text.r_margin.bottom + XtHeight(hbar) + XtBorderWidth(hbar); 888 - (XtHeight(hbar) 948 if (XtHeight(ctx) == DEFAULT_TEXT_HEIGHT) { 949 XtHeight(ctx) = (Dimension)VMargins(ctx); 951 XtHeight(ctx) += (Dimension) XawTextSinkMaxHeight(ctx->text.sink, 1); 1257 if ((int)XtHeight(ct [all...] |
| H A D | DisplayList.c | 550 ((float)XtHeight(w) * ((float)(x).pos / (float)(x).denom)): \ 551 (float)((x).high ? XtHeight(w) - (x).pos : (x).pos))) 1397 if ((height = XtHeight(w) - src_y) < 0)
|
| H A D | MultiSink.c | 768 height = (int)XtHeight(ctx) -
|
| H A D | AsciiSink.c | 792 height = (int)XtHeight(ctx) - RVMargins(ctx); 1735 height = (int)XtHeight(ctx) - RVMargins(ctx);
|
| H A D | TextSink.c | 432 y2 = (Position) (XawMin(y + (int)height, (int)XtHeight(xaw) - xaw->text.r_margin.bottom));
|
| H A D | TextAction.c | 2687 else if (ctx->text.ev_y >= XtHeight(ctx) - ctx->text.margin.bottom) {
|