/ast/src/lib/libtk/generic/ |
H A D | tk3d.c | 414 * will be determined by the borderWidth argument. 421 borderWidth, relief) 427 int borderWidth; /* Desired width for border, in 432 if (width < 2*borderWidth) { 433 borderWidth = width/2; 435 if (height < 2*borderWidth) { 436 borderWidth = height/2; 438 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, borderWidth, height, 440 Tk_3DVerticalBevel(tkwin, drawable, border, x+width-borderWidth, y, 441 borderWidth, heigh [all...] |
H A D | tkScale.c | 89 int borderWidth; /* Width of 3-D border around window. */ member in struct:__anon415 228 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 232 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 233 DEF_SCALE_BORDER_WIDTH, Tk_Offset(Scale, borderWidth), 0}, 417 scalePtr->borderWidth = 0; 543 + scalePtr->borderWidth; 548 + scalePtr->borderWidth; 817 scalePtr->inset = scalePtr->highlightWidth + scalePtr->borderWidth; 992 y += scalePtr->width + 2*scalePtr->borderWidth; 1044 x += 2*scalePtr->borderWidth [all...] |
H A D | tkCanvas.h | 48 int borderWidth; /* Width of 3-D border around window. */ member in struct:TkCanvas
|
H A D | tkSquare.c | 41 int borderWidth; /* Width of 3-D border around whole widget. */ member in struct:__anon418 64 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 68 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 69 "2", Tk_Offset(Square, borderWidth), 0}, 159 squarePtr->borderWidth = 0; 350 Tk_SetInternalBorder(squarePtr->tkwin, squarePtr->borderWidth); 499 Tk_Height(tkwin), squarePtr->borderWidth, squarePtr->relief); 507 squarePtr->borderWidth, TK_RELIEF_RAISED); 579 bd = squarePtr->borderWidth;
|
H A D | tkMenubutton.c | 71 int borderWidth; /* Width of border. */ member in struct:__anon410 197 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 204 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 205 DEF_MENUBUTTON_BORDER_WIDTH, Tk_Offset(MenuButton, borderWidth), 0}, 360 mbPtr->borderWidth = 0; 910 int borderWidth; 912 borderWidth = (mbPtr->indicatorHeight+1)/3; 913 if (borderWidth < 1) { 914 borderWidth = 1; 921 mbPtr->indicatorHeight, borderWidth, TK_RELIEF_RAISE 905 int borderWidth; local [all...] |
H A D | tkScrollbar.c | 55 int borderWidth; /* Width of 3-D borders. */ member in struct:__anon416 79 * -1 means use borderWidth. */ 194 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 198 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 199 DEF_SCROLLBAR_BORDER_WIDTH, Tk_Offset(Scrollbar, borderWidth), 0}, 325 scrollPtr->borderWidth = 0; 816 elementBorderWidth = scrollPtr->borderWidth; 843 scrollPtr->borderWidth, scrollPtr->relief); 1084 scrollPtr->inset = scrollPtr->highlightWidth + scrollPtr->borderWidth; 1103 if (scrollPtr->sliderFirst > (fieldLength - 2*scrollPtr->borderWidth)) { [all...] |
H A D | tkTextDisp.c | 31 int borderWidth; /* Width of 3-D border for background. */ member in struct:StyleValues 88 && ((s1)->sValuePtr->borderWidth == (s2)->sValuePtr->borderWidth) \ 516 styleValues.borderWidth = tagPtr->borderWidth; 1035 if ((sValuePtr->borderWidth > 0) 1738 leftX + xOffset, 0, sValuePtr->borderWidth, 1741 rightX - sValuePtr->borderWidth + xOffset, 1742 0, sValuePtr->borderWidth, dlPtr->height, 0, 1803 rightX - leftX, sValuePtr->borderWidth, leftXI [all...] |
H A D | tkMenu.c | 266 int borderWidth; /* Width of border around whole menu. */ member in struct:Menu 361 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 365 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 366 DEF_MENU_BORDER_WIDTH, Tk_Offset(Menu, borderWidth), 0}, 522 menuPtr->borderWidth = 0; 1580 y = menuPtr->borderWidth; 1680 + 2*menuPtr->borderWidth + 2*menuPtr->activeBorderWidth; 1684 height = y + menuPtr->borderWidth; 1755 leftEdge = menuPtr->borderWidth + menuPtr->indicatorSpace 1783 bgBorder, menuPtr->borderWidth, mePt [all...] |
H A D | tkFrame.c | 57 int borderWidth; /* Width of 3-D border (if any). */ member in struct:__anon399 107 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 111 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 112 DEF_FRAME_BORDER_WIDTH, Tk_Offset(Frame, borderWidth), BOTH}, 371 framePtr->borderWidth = 0; 573 framePtr->borderWidth + framePtr->highlightWidth); 625 framePtr->borderWidth, framePtr->relief);
|
H A D | tkMessage.c | 49 int borderWidth; /* Width of border. */ member in struct:__anon411 120 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 124 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 125 DEF_MESSAGE_BORDER_WIDTH, Tk_Offset(Message, borderWidth), 0}, 236 msgPtr->borderWidth = 0; 531 msgPtr->inset = msgPtr->borderWidth + msgPtr->highlightWidth; 725 msgPtr->borderWidth, msgPtr->relief);
|
H A D | tkButton.c | 76 int borderWidth; /* Width of border. */ member in struct:__anon390 249 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 256 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 257 DEF_BUTTON_BORDER_WIDTH, Tk_Offset(Button, borderWidth), ALL_MASK}, 549 butPtr->borderWidth = 0; 1302 if (dim > 2*butPtr->borderWidth) { 1304 butPtr->borderWidth, 1307 x += butPtr->borderWidth; 1308 y += butPtr->borderWidth; 1309 dim -= 2*butPtr->borderWidth; [all...] |
H A D | tkText.c | 38 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 42 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 43 DEF_TEXT_BORDER_WIDTH, Tk_Offset(TkText, borderWidth), 0}, 256 textPtr->borderWidth = 0; 829 &textPtr->selTagPtr->borderWidth) != TCL_OK) { 832 if (textPtr->selTagPtr->borderWidth < 0) { 833 textPtr->selTagPtr->borderWidth = 0; 901 textPtr->width * textPtr->charWidth + 2*textPtr->borderWidth 903 textPtr->height * charHeight + 2*textPtr->borderWidth 906 textPtr->borderWidth [all...] |
H A D | tkText.h | 270 int borderWidth; /* Width of 3-D border for background. */ member in struct:TkTextTag 447 int borderWidth; /* Width of 3-D border to draw around entire member in struct:TkText
|
H A D | tkEntry.c | 51 int borderWidth; /* Width of 3-D border around window. */ member in struct:__anon396 86 * sides that are taken up by XPAD, borderWidth 182 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 186 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 187 DEF_ENTRY_BORDER_WIDTH, Tk_Offset(Entry, borderWidth), 0}, 372 entryPtr->borderWidth = 0; 976 entryPtr->borderWidth + entryPtr->highlightWidth); 980 entryPtr->inset = entryPtr->highlightWidth + entryPtr->borderWidth + XPAD; 1176 entryPtr->borderWidth, entryPtr->relief);
|
H A D | tkTextTag.c | 288 &tagPtr->borderWidth) != TCL_OK) { 291 if (tagPtr->borderWidth < 0) { 292 tagPtr->borderWidth = 0; 786 tagPtr->borderWidth = 0;
|
H A D | tkListbox.c | 72 int borderWidth; /* Width of 3-D border around window. */ member in struct:__anon409 203 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 207 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 208 DEF_LISTBOX_BORDER_WIDTH, Tk_Offset(Listbox, borderWidth), 0}, 368 listPtr->borderWidth = 0; 974 listPtr->inset = listPtr->highlightWidth + listPtr->borderWidth; 1172 listPtr->borderWidth, listPtr->relief);
|
H A D | tk.h | 1094 XPoint *pointPtr, int numPoints, int borderWidth, 1098 int y, int width, int height, int borderWidth, 1104 XPoint *pointPtr, int numPoints, int borderWidth, 1108 int y, int width, int height, int borderWidth,
|
H A D | tkCanvas.c | 54 {TK_CONFIG_SYNONYM, "-bd", "borderWidth", (char *) NULL, 58 {TK_CONFIG_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", 59 DEF_CANVAS_BORDER_WIDTH, Tk_Offset(TkCanvas, borderWidth), 0}, 282 canvasPtr->borderWidth = 0; 1485 canvasPtr->inset = canvasPtr->borderWidth + canvasPtr->highlightWidth; 1744 if (canvasPtr->borderWidth > 0) { 1750 canvasPtr->borderWidth, canvasPtr->relief);
|