Searched refs:height (Results 1 - 25 of 83) sorted by relevance

1234

/ast/src/lib/libtk/unix/
H A DtkUnixDraw.c58 TkScrollWindow(tkwin, gc, x, y, width, height, dx, dy, damageRgn)
61 int x, y, width, height; /* Position rectangle to be scrolled. */
70 x, y, (unsigned int) width, (unsigned int) height, x + dx, y + dy);
140 rect.height = eventPtr->xgraphicsexpose.height;
160 rect.height = eventPtr->xexpose.height;
H A DtkUnixCursor.c229 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
H A DtkUnixWm.c121 int width, height; /* Desired dimensions of window, specified member in struct:TkWmInfo
139 /* Width and height of reparent, in pixels
230 * allow the user to change the height of the
392 wmPtr->height = -1;
397 wmPtr->parentHeight = winPtr->changes.height
1021 int width, height;
1035 height = wmPtr->reqGridHeight + (winPtr->changes.height
1039 height = winPtr->changes.height;
1015 int width, height; local
1380 int width, height; local
1401 int width, height; local
1549 int width, height; local
2187 int width, height, bd; local
2410 int x, y, width, height; local
3014 int x, y, width, height, flags; local
[all...]
/ast/src/lib/libtk/generic/
H A DtkBitmap.c43 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 DtkImgPPM.c45 int width, int height, int srcX, int srcY));
123 width, height, srcX, srcY)
131 int width, height; /* Dimensions of block of photo image to
165 if ((srcY + height) > fileHeight) {
166 height = fileHeight - srcY;
168 if ((width <= 0) || (height <= 0)
188 Tk_PhotoExpand(imageHandle, destX + width, destY + height);
195 if (nLines > height) {
196 nLines = height;
205 for (h = height;
[all...]
H A DtkImgUtil.c61 data = ckalloc(dataWidth * image->height);
64 for (i = 0; i < image->height; i++) {
H A DtkImage.c62 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 DtkUtil.c53 rects[0].height = width;
57 rects[1].height = width;
61 rects[2].height = Tk_Height(tkwin) - 2*width;
65 rects[3].height = rects[2].height;
H A DtkCanvBmap.c84 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 DtkImgPhoto.c147 int width, height; /* Dimensions of image. */ member in struct:PhotoMaster
200 int width, height; /* Dimensions of the pixmap. */ member in struct:PhotoInstance
276 int imageX, int imageY, int width, int height,
313 {TK_CONFIG_INT, "-height", (char *) NULL, (char *) NULL,
363 int width, int height));
385 int x, int y, int width, int height));
387 int x, int y, int width, int height));
537 int x, y, width, height;
638 if ((options.fromX2 > block.width) || (options.fromY2 > block.height)
640 || (options.fromY2 > block.height)) {
534 int x, y, width, height; local
[all...]
H A DtkCanvWind.c31 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 DtkCanvImg.c60 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 DtkMenubutton.c107 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 DtkImgGIF.c44 int width, int height, int srcX, int srcY));
84 char *imagePtr, FILE *fd, int len, int height,
142 width, height, srcX, srcY)
150 int width, height; /* Dimensions of block of photo image to
192 if ((srcY + height) > fileHeight) {
193 height = fileHeight - srcY;
195 if ((width <= 0) || (height <= 0)
200 Tk_PhotoExpand(imageHandle, destX + width, destY + height);
203 block.height = fileHeight;
255 interp->result = "couldn't read left/top/width/height i
[all...]
H A Dtk3d.c222 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height,
227 int x, y, width, height; /* Area of vertical bevel. */
246 x, y, (unsigned) width, (unsigned) height);
250 x, y, (unsigned) width, (unsigned) height);
262 (unsigned) height);
264 (unsigned) (width-half), (unsigned) height);
271 (unsigned) width, (unsigned) height);
295 Tk_3DHorizontalBevel(tkwin, drawable, border, x, y, width, height,
300 int x, y, width, height; /* Bounding box of area of bevel. Height
364 x1 += height;
[all...]
H A DtkCursor.c47 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 DtkPlace.c55 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 DtkMenu.c61 int height; /* Number of pixels occupied by entry in member in struct:MenuEntry
443 int x, int y, int width, int height, int imgWidth,
448 int x, int y, int width, int height, int imgWidth,
1571 int width, height, indicatorSpace;
1591 * For each entry, compute the height required by that
1604 mePtr->height = imageHeight;
1608 indicatorSpace = (14*mePtr->height)/10;
1609 mePtr->indicatorDiameter = (65*mePtr->height)/100;
1611 indicatorSpace = (14*mePtr->height)/10;
1612 mePtr->indicatorDiameter = (75*mePtr->height)/10
1564 int width, height, indicatorSpace; local
1733 int index, baseline, strictMotif, leftEdge, y, height; local
1820 int width, height; local
1834 int width, height; local
[all...]
H A DtkGeometry.c31 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 DtkTest.c139 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 DtkButton.c113 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 DtkImgBmap.c31 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...]
/ast/src/lib/libtk/library/demos/
H A Dvscale.tcl28 canvas $w.frame.canvas -width 50 -height 50 -bd 0 -highlightthickness 0
36 proc setHeight {w height} {
37 incr height 21
38 set y2 [expr $height - 30]
42 $w coords poly 15 20 35 20 35 $y2 45 $y2 25 $height 5 $y2 15 $y2 15 20
43 $w coords line 15 20 35 20 35 $y2 45 $y2 25 $height 5 $y2 15 $y2 15 20
H A Dimage2.tcl60 frame $w.spacer1 -height 3m -width 20
65 listbox $w.f.list -width 20 -height 10 -yscrollcommand "$w.f.scroll set"
73 frame $w.spacer2 -height 3m -width 20
H A Dentry2.tcl30 frame $w.frame.spacer1 -width 20 -height 10
34 frame $w.frame.spacer2 -width 20 -height 10

Completed in 46 milliseconds

1234