Searched defs:inset (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkMessage.c58 int inset; /* Total width of all borders, including member in struct:__anon411
241 msgPtr->inset = 0;
531 msgPtr->inset = msgPtr->borderWidth + msgPtr->highlightWidth;
592 + msgPtr->fontPtr->descent) + 2*msgPtr->inset
597 aspect = (100*(maxWidth + 2*msgPtr->inset + 2*msgPtr->padX))/height;
610 maxWidth + 2*msgPtr->inset + 2*msgPtr->padX, height);
611 Tk_SetInternalBorder(msgPtr->tkwin, msgPtr->inset);
654 y = msgPtr->inset + msgPtr->padY;
660 y = Tk_Height(tkwin) - msgPtr->inset - msgPtr->padY
685 x = msgPtr->inset
[all...]
H A DtkCanvas.h59 int inset; /* Total width of all borders, including member in struct:TkCanvas
H A DtkMenubutton.c80 int inset; /* Total width of all borders, including member in struct:__anon410
365 mbPtr->inset = 0;
827 x += mbPtr->inset;
834 x += Tk_Width(tkwin) - mbPtr->inset - width
840 y = mbPtr->inset;
846 y = Tk_Height(tkwin) - mbPtr->inset - height;
864 x = mbPtr->inset + mbPtr->padX;
871 x = Tk_Width(tkwin) - width - mbPtr->padX - mbPtr->inset
877 y = mbPtr->inset + mbPtr->padY;
883 y = Tk_Height(tkwin) - mbPtr->inset
[all...]
H A DtkScrollbar.c72 int inset; /* Total width of all borders, including member in struct:__anon416
335 scrollPtr->inset = 0;
472 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
476 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
498 pos = y - (scrollPtr->arrowLength + scrollPtr->inset);
500 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
502 pos = x - (scrollPtr->arrowLength + scrollPtr->inset);
504 - 2*(scrollPtr->arrowLength + scrollPtr->inset);
810 width = Tk_Width(tkwin) - 2*scrollPtr->inset;
812 width = Tk_Height(tkwin) - 2*scrollPtr->inset;
[all...]
H A DtkButton.c85 int inset; /* Total width of all borders, including member in struct:__anon390
554 butPtr->inset = 0;
1204 x = butPtr->inset + butPtr->indicatorSpace + offset;
1211 x = Tk_Width(tkwin) - butPtr->inset - width - offset;
1216 y = butPtr->inset + offset;
1222 y = Tk_Height(tkwin) - butPtr->inset - height - offset;
1253 x = butPtr->inset + butPtr->padX + butPtr->indicatorSpace
1261 x = Tk_Width(tkwin) - butPtr->inset - butPtr->padX
1267 y = butPtr->inset + butPtr->padY + offset;
1273 y = Tk_Height(tkwin) - butPtr->inset
[all...]
H A DtkCanvas.c288 canvasPtr->inset = 0;
1287 PrintScrollFractions(canvasPtr->xOrigin + canvasPtr->inset,
1289 - canvasPtr->inset, canvasPtr->scrollX1,
1297 newX = canvasPtr->scrollX1 - canvasPtr->inset
1303 * (Tk_Width(canvasPtr->tkwin) - 2*canvasPtr->inset);
1312 - 2*canvasPtr->inset);
1325 PrintScrollFractions(canvasPtr->yOrigin + canvasPtr->inset,
1327 - canvasPtr->inset, canvasPtr->scrollY1,
1335 newY = canvasPtr->scrollY1 - canvasPtr->inset
1342 - 2*canvasPtr->inset);
3547 int xOrigin, yOrigin, inset, width, height, scrollX1, scrollX2, local
[all...]
H A DtkEntry.c85 int inset; /* Number of pixels on the left and right member in struct:__anon396
393 entryPtr->inset = XPAD;
752 - 2*entryPtr->inset) / entryPtr->avgWidth) - 2;
980 entryPtr->inset = entryPtr->highlightWidth + entryPtr->borderWidth + XPAD;
1045 xBound = Tk_Width(tkwin) - entryPtr->inset;
1261 overflow = totalLength - (Tk_Width(entryPtr->tkwin) - 2*entryPtr->inset);
1265 entryPtr->leftX = entryPtr->inset;
1267 entryPtr->leftX = Tk_Width(entryPtr->tkwin) - entryPtr->inset
1293 entryPtr->leftX = entryPtr->inset;
1298 height = fontHeight + 2*entryPtr->inset
[all...]
H A DtkListbox.c81 int inset; /* Total width of all borders, including member in struct:__anon409
373 listPtr->inset = 0;
498 x = listPtr->inset - listPtr->xOffset;
500 + listPtr->inset + listPtr->selBorderWidth;
770 - 2*(listPtr->inset + listPtr->selBorderWidth);
974 listPtr->inset = listPtr->highlightWidth + listPtr->borderWidth;
1087 - 2*(listPtr->inset + listPtr->selBorderWidth))) {
1096 x = listPtr->inset;
1098 + listPtr->inset;
1102 width = Tk_Width(tkwin) - 2*listPtr->inset;
[all...]
H A DtkScale.c109 int inset; /* Total width of all borders, including member in struct:__anon415
431 scalePtr->inset = 0;
817 scalePtr->inset = scalePtr->highlightWidth + scalePtr->borderWidth;
976 y = scalePtr->inset;
998 scalePtr->length + 2*scalePtr->inset, y + scalePtr->inset);
999 Tk_SetInternalBorder(scalePtr->tkwin, scalePtr->inset);
1025 x = scalePtr->inset;
1054 Tk_GeometryRequest(scalePtr->tkwin, x + scalePtr->inset,
1055 scalePtr->length + 2*scalePtr->inset);
[all...]
H A DtkTextDisp.c2470 int maxY, inset;
2496 inset = textPtr->borderWidth + textPtr->highlightWidth;
2497 if ((rect.x < inset) || (rect.y < inset)
2498 || ((rect.x + rect.width) > (Tk_Width(textPtr->tkwin) - inset))
2499 || (maxY > (Tk_Height(textPtr->tkwin) - inset))) {
2457 int maxY, inset; local

Completed in 4945 milliseconds