/ast/src/lib/libtk/generic/ |
H A D | tkCanvImg.c | 60 int x, int y, int width, int height, int imgWidth, 81 int x, int y, int width, int height)); 359 int width, height; 375 Tk_SizeOfImage(imgPtr->image, &width, &height); 385 y -= height/2; 389 y -= height; 393 y -= height; 396 y -= height; 399 y -= height/2; 405 y -= height/ 354 int width, height; local [all...] |
H A D | tkCanvWind.c | 31 int height; /* Width to use for window (<= 0 means use member in struct:WindowItem 49 {TK_CONFIG_PIXELS, "-height", (char *) NULL, (char *) NULL, 50 "0", Tk_Offset(WindowItem, height), TK_CONFIG_DONT_SET_DEFAULT}, 77 int x, int y, int width, int height)); 184 winItemPtr->height = 0; 420 int width, height, x, y; 442 height = winItemPtr->height; 443 if (height <= 0) { 444 height 415 int width, height, x, y; local 529 int width, height; local [all...] |
H A D | tkCursor.c | 47 int width, height; /* Dimensions of cursor (and data member in struct:__anon394 179 Tk_GetCursorFromData(interp, tkwin, source, mask, width, height, 185 int width, height; /* Dimensions of cursor. */ 204 dataKey.height = height; 233 cursorPtr = TkCreateCursorFromData(tkwin, source, mask, width, height,
|
H A D | tkGeometry.c | 31 int width, height; /* Desired dimensions of slave. */ member in struct:MaintainSlave 158 * X gets very upset if a window requests a width or height of 255 Tk_MaintainGeometry(slave, master, x, y, width, height) 260 int width, height; /* Desired dimensions for slave. */ 334 slavePtr->height = height; 344 || (height != Tk_Height(slavePtr->slave))) { 345 Tk_MoveResizeWindow(slavePtr->slave, x, y, width, height);
|
H A D | tkBitmap.c | 43 int width, height; /* Dimensions of bitmap. */ member in struct:__anon385 80 int width, height; /* Dimensions of bitmap. */ member in struct:__anon388 101 int width, height; /* Dimensions of bitmap. */ member in struct:__anon389 153 int width, height; 187 (unsigned int *) &width, (unsigned int *) &height, 212 height = predefPtr->height; 215 (unsigned) width, (unsigned) height); 225 bitmapPtr->height = height; 152 int width, height; local [all...] |
H A D | tkCanvBmap.c | 84 int x, int y, int width, int height)); 372 int width, height; 389 &width, &height); 399 y -= height/2; 403 y -= height; 407 y -= height; 410 y -= height; 413 y -= height/2; 419 y -= height/2; 430 bmapPtr->header.y2 = y + height; 367 int width, height; local 384 &width, &height); local 714 int width, height, rowsAtOnce, rowsThisTime; local 730 &width, &height); local [all...] |
H A D | tkFont.c | 809 int xUnder, yUnder, width, height; 823 height = value; 825 height = 2; 839 (unsigned int) width, (unsigned int) height); 873 int *heightPtr; /* Store height of string here. */ 801 int xUnder, yUnder, width, height; local
|
H A D | tkFrame.c | 68 int height; /* Height to request for window. <= 0 means member in struct:__anon399 122 {TK_CONFIG_PIXELS, "-height", "height", "Height", 123 DEF_FRAME_HEIGHT, Tk_Offset(Frame, height), BOTH}, 377 framePtr->height = 0; 574 if ((framePtr->width > 0) || (framePtr->height > 0)) { 576 framePtr->height);
|
H A D | tkImage.c | 62 int width, height; /* Last known dimensions for image. */ member in struct:ImageMaster 214 masterPtr->width = masterPtr->height = 1; 232 masterPtr->width, masterPtr->height, masterPtr->width, 233 masterPtr->height); 270 } else if ((c == 'h') && (strncmp(argv[1], "height", length) == 0)) { 273 " height name\"", (char *) NULL); 283 sprintf(interp->result, "%d", masterPtr->height); 337 "\": must be create, delete, height, names, type, types,", 365 Tk_ImageChanged(imageMaster, x, y, width, height, imageWidth, 371 int width, height; /* Dimension [all...] |
H A D | tkMessage.c | 73 * (100*width/height). */ 527 int width, inc, height, numLines; 546 * a very wide window, and compute its height. Then change 591 height = numLines * (msgPtr->fontPtr->ascent 597 aspect = (100*(maxWidth + 2*msgPtr->inset + 2*msgPtr->padX))/height; 610 maxWidth + 2*msgPtr->inset + 2*msgPtr->padX, height); 522 int width, inc, height, numLines; local
|
H A D | tkPlace.c | 55 int width, height; /* Absolute dimensions for tkwin. */ member in struct:Slave 70 * CHILD_HEIGHT - 1 means -height was specified; 279 sprintf(buffer, " -height %d", slavePtr->height); 282 Tcl_AppendResult(interp, " -height {}", (char *) NULL); 361 slavePtr->width = slavePtr->height = 0; 537 } else if ((c == 'h') && (strncmp(argv[0], "-height", length) == 0)) { 542 &slavePtr->height) != TCL_OK) { 663 argv[0], "\": must be -anchor, -bordermode, -height, ", 715 int x, y, width, height, tm 709 int x, y, width, height, tmp; local [all...] |
H A D | tkRectOval.c | 75 int x, int y, int width, int height)); 512 DisplayRectOval(canvas, itemPtr, display, drawable, x, y, width, height) 518 int x, y, width, height; /* Describes region of canvas that 843 double centerX, centerY, width, height; 849 height = (ovalPtr->bbox[3] - ovalPtr->bbox[1])/2.0 - halfWidth; 852 yDelta1 = (areaPtr[1] - centerY)/height; 856 yDelta2 = (areaPtr[3] - centerY)/height; 833 double centerX, centerY, width, height; local
|
H A D | tkTextWind.c | 763 int width, height; 841 height = 0; 844 height = Tk_ReqHeight(ewPtr->body.ew.tkwin) + 2*ewPtr->body.ew.padY; 861 chunkPtr->minAscent = height - ewPtr->body.ew.padY; 867 chunkPtr->minHeight = height; 940 int lineHeight; /* Total height of line. */ 948 int lineX, windowX, windowY, width, height; 974 &windowY, &width, &height); 980 || (height != Tk_Height(tkwin))) { 981 Tk_MoveResizeWindow(tkwin, windowX, windowY, width, height); 753 int width, height; local 936 int lineX, windowX, windowY, width, height; local [all...] |
H A D | tkCanvas.h | 66 int width, height; /* Dimensions to request for canvas window, member in struct:TkCanvas
|
H A D | tkCmds.c | 1007 } else if ((c == 'h') && (strncmp(argv[1], "height", length) == 0)) { 1008 SETUP("height"); 1301 int width, height; 1304 Tk_GetVRootGeometry(window, &x, &y, &width, &height); local 1305 sprintf(interp->result, "%d", height); 1309 int width, height; 1312 Tk_GetVRootGeometry(window, &x, &y, &width, &height); 1316 int width, height; 1319 Tk_GetVRootGeometry(window, &x, &y, &width, &height); 1323 int width, height; 1289 int width, height; local 1297 int width, height; local 1311 int width, height; local [all...] |
H A D | tkImgBmap.c | 31 int width, height; /* Dimensions of image. */ member in struct:BitmapMaster 87 int imageX, int imageY, int width, int height, 200 masterPtr->width = masterPtr->height = 0; 269 &masterPtr->width, &masterPtr->height, &dummy1, &dummy2); 291 || (maskHeight != masterPtr->height)) { 310 masterPtr->height, masterPtr->width, masterPtr->height); 383 (unsigned) masterPtr->height); 395 (unsigned) masterPtr->height); 478 int width, height, numByte 474 int width, height, numBytes, hotX, hotY; local [all...] |
H A D | tkMenubutton.c | 107 char *heightString; /* Value of -height option. Malloc'ed. */ 108 int width, height; /* If > 0, these specify dimensions to request member in struct:__anon410 223 {TK_CONFIG_STRING, "-height", "height", "Height", 280 int x, int y, int width, int height, int imgWidth, 728 &mbPtr->height) != TCL_OK) { 730 Tcl_AddErrorInfo(interp, "\n (processing -height option)"); 738 if (Tcl_GetInt(interp, mbPtr->heightString, &mbPtr->height) 787 int width, height; 822 Tk_SizeOfImage(mbPtr->image, &width, &height); 782 int width, height; local 1081 int width, height, mm, pixels; local [all...] |
H A D | tkTest.c | 139 int width, height; /* Dimensions of image. */ member in struct:TImageMaster 169 int height, int drawableX, 522 } else if (strcmp(field, "-height") == 0) { 527 event.xexpose.height = number; 529 event.xconfigure.height = number; 531 event.xresizerequest.height = number; 832 timPtr->height = 15; 871 int x, y, width, height; 881 argv[0], " changed x y width height imageWidth imageHeight", 888 || (Tcl_GetInt(interp, argv[5], &height) ! 864 int x, y, width, height; local [all...] |
H A D | tkButton.c | 113 char *heightString; /* Value of -height option. Malloc'ed. */ 114 int width, height; /* If > 0, these specify dimensions to request member in struct:__anon390 279 {TK_CONFIG_STRING, "-height", "height", "Height", 392 int x, int y, int width, int height, 396 int height, int imgWidth, int imgHeight)); 567 butPtr->height = 0; 1083 &butPtr->height) != TCL_OK) { 1085 Tcl_AddErrorInfo(interp, "\n (processing -height option)"); 1093 if (Tcl_GetInt(interp, butPtr->heightString, &butPtr->height) 1137 int width, height; local 1533 int width, height; local [all...] |
H A D | tkCanvPs.c | 31 int x, y, width, height; /* Area to print, in canvas pixel member in struct:TkPostscriptInfo 33 int x2, y2; /* x+width and y+height. */ 41 char *pageHeightString; /* Printed height of output. */ 85 {TK_CONFIG_PIXELS, "-height", (char *) NULL, (char *) NULL, 86 "", Tk_Offset(TkPostscriptInfo, height), 0}, 179 psInfo.height = -1; 207 if (psInfo.height == -1) { 208 psInfo.height = Tk_Height(canvasPtr->tkwin); 211 psInfo.y2 = psInfo.y + psInfo.height; 236 psInfo.scale /= psInfo.height; 938 int width, height; local [all...] |
H A D | tkPack.c | 77 * FILLY: Same as FILLX, except for height. 529 int x, y, width, height; /* These variables are used to hold the 564 * of space needed. Two separate width and height values are 570 * height - Holds the sum of the heights (plus padding) of 579 * maxHeight - Same as maxWidth, except keeps height info. 583 width = height = maxWidth = maxHeight = 2*intBWidth; 592 height += Tk_ReqHeight(slavePtr->tkwin) + slavePtr->doubleBw 596 + slavePtr->padY + slavePtr->iPadY + height; 607 if (height > maxHeight) { 608 maxHeight = height; 525 int x, y, width, height; /* These variables are used to hold the local [all...] |
H A D | tkCanvas.c | 66 {TK_CONFIG_PIXELS, "-height", "height", "Height", 67 DEF_CANVAS_HEIGHT, Tk_Offset(TkCanvas, height), 0}, 291 canvasPtr->height = None; 1502 canvasPtr->height + 2*canvasPtr->inset); 1592 int screenX1, screenX2, screenY1, screenY2, width, height; 1688 height = screenY2 - screenY1; 1693 (unsigned int) height); 1719 height); 1809 y + eventPtr->xexpose.height); 1587 int screenX1, screenX2, screenY1, screenY2, width, height; local 3547 int xOrigin, yOrigin, inset, width, height, scrollX1, scrollX2, local [all...] |
H A D | tkEntry.c | 458 int c, height; 497 height = entryPtr->fontPtr->ascent + entryPtr->fontPtr->descent; 499 (Tk_Height(entryPtr->tkwin) - height)/2, x2-x1, height); 1227 int fontHeight, height, width, i; 1298 height = fontHeight + 2*entryPtr->inset + 2*(YPAD-XPAD); 1308 Tk_GeometryRequest(entryPtr->tkwin, width, height); 456 int c, height; local 1221 int fontHeight, height, width, i; local
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixCursor.c | 229 int width, height, maskWidth, maskHeight; 244 (unsigned int *) &width, (unsigned int *) &height, 250 if ((xHot < 0) || (yHot < 0) || (xHot >= width) || (yHot >= height)) { 273 if ((maskWidth != width) && (maskHeight != height)) { 338 TkCreateCursorFromData(tkwin, source, mask, width, height, xHot, yHot, 343 int width, height; /* Dimensions of cursor. */ 355 (unsigned) height); 358 (unsigned) height); 228 int width, height, maskWidth, maskHeight; local
|
/ast/src/cmd/paxlib/ico/ |
H A D | ico.c | 51 uint8_t height; member in struct:Ico_directory_s 123 int height; local 135 height = p[1] ? p[1] : 256; 138 sfsprintf(ico->name, sizeof(ico->name), "ico-%d-c%dp%db%dw%dh%d.ico", ap->entry, p[2], (int)swapget(3, p+4, 2), (int)swapget(3, p+6, 2), width, height);
|