Searched refs:textWidth (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10.1/tcl-105/tk/tk/unix/
H A DtkUnixMenubu.c118 haveText = (mbPtr->textWidth != 0 && mbPtr->textHeight != 0);
153 fullWidth = (width > mbPtr->textWidth ? width : mbPtr->textWidth);
154 textXOffset = (fullWidth - mbPtr->textWidth)/2;
166 imageXOffset = mbPtr->textWidth + mbPtr->padX;
168 fullWidth = mbPtr->textWidth + mbPtr->padX + width;
179 fullWidth = (width > mbPtr->textWidth ? width : mbPtr->textWidth);
182 textXOffset = (fullWidth - mbPtr->textWidth)/2;
228 mbPtr->textWidth
[all...]
H A DtkUnixMenu.c699 int textHeight = 0, textWidth = 0; /* stop GCC warning */
726 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
737 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
740 textXOffset = (fullWidth - textWidth)/2;
746 textXOffset = (fullWidth - textWidth)/2;
774 imageXOffset = textWidth + 2;
778 textXOffset = (fullWidth - textWidth)/2;
1529 int textWidth;
1531 textWidth
685 int textHeight = 0, textWidth = 0; /* stop GCC warning */ local
1505 int textWidth; local
[all...]
H A DtkUnixButton.c465 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
486 fullWidth = (width > butPtr->textWidth ? width :
487 butPtr->textWidth);
488 textXOffset = (fullWidth - butPtr->textWidth)/2;
500 imageXOffset = butPtr->textWidth + butPtr->padX;
502 fullWidth = butPtr->textWidth + butPtr->padX + width;
513 fullWidth = (width > butPtr->textWidth ? width :
514 butPtr->textWidth);
517 textXOffset = (fullWidth - butPtr->textWidth)/2;
656 butPtr->indicatorSpace + butPtr->textWidth,
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/unix/
H A DtkUnixMenubu.c115 haveText = (mbPtr->textWidth != 0 && mbPtr->textHeight != 0);
147 fullWidth = (width > mbPtr->textWidth ? width :
148 mbPtr->textWidth);
149 textXOffset = (fullWidth - mbPtr->textWidth)/2;
159 imageXOffset = mbPtr->textWidth + mbPtr->padX;
161 fullWidth = mbPtr->textWidth + mbPtr->padX + width;
170 fullWidth = (width > mbPtr->textWidth ? width :
171 mbPtr->textWidth);
174 textXOffset = (fullWidth - mbPtr->textWidth)/2;
220 mbPtr->textWidth
[all...]
H A DtkUnixButton.c188 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
206 fullWidth = (width > butPtr->textWidth ? width :
207 butPtr->textWidth);
208 textXOffset = (fullWidth - butPtr->textWidth)/2;
218 imageXOffset = butPtr->textWidth + butPtr->padX;
220 fullWidth = butPtr->textWidth + butPtr->padX + width;
229 fullWidth = (width > butPtr->textWidth ? width :
230 butPtr->textWidth);
233 textXOffset = (fullWidth - butPtr->textWidth)/2;
365 butPtr->indicatorSpace + butPtr->textWidth,
[all...]
H A DtkUnixMenu.c724 int textHeight = 0, textWidth = 0; /* stop GCC warning */
751 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
762 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
765 textXOffset = (fullWidth - textWidth)/2;
772 textXOffset = (fullWidth - textWidth)/2;
801 imageXOffset = textWidth + 2;
806 textXOffset = (fullWidth - textWidth)/2;
1538 int textWidth;
1540 textWidth
710 int textHeight = 0, textWidth = 0; /* stop GCC warning */ local
1514 int textWidth; local
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/ios/forms/
H A DWKFormSelectControl.mm49 CGFloat adjustedFontSize(CGFloat textWidth, UIFont *font, CGFloat initialFontSize, const Vector<OptionItem>& items)
58 [(NSString *)item.text _legacy_sizeWithFont:font minFontSize:minimumOptionFontSize actualFontSize:&actualFontSize forWidth:textWidth lineBreakMode:NSLineBreakByWordWrapping];
H A DWKFormSelectControl.h34 CGFloat adjustedFontSize(CGFloat textWidth, UIFont *, CGFloat initialFontSize, const Vector<WebKit::OptionItem>& items);
/macosx-10.10.1/vim-55/src/
H A Dgui_w16.c1124 int textWidth, minButtonWidth, messageWidth; local
1219 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1220 if (textWidth > messageWidth)
1221 messageWidth = textWidth;
1247 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1248 if (textWidth < minButtonWidth)
1249 textWidth = minButtonWidth;
1250 textWidth += dlgPaddingX; /* Padding within button */
1251 buttonWidths[i] = textWidth;
1253 horizWidth += textWidth
[all...]
H A Dgui_w32.c3027 int textWidth, minButtonWidth, messageWidth; local
3166 textWidth = 0;
3176 && textWidth > maxDialogWidth * 3 / 4)
3178 textWidth += GetTextWidth(hdc, pend, l);
3179 if (textWidth >= maxDialogWidth)
3184 textWidth = 0;
3201 if (textWidth > messageWidth)
3202 messageWidth = textWidth;
3244 textWidth = GetTextWidth(hdc, pstart, (int)(pend - pstart));
3245 if (textWidth < minButtonWidt
3736 int nchar, textWidth, submenuWidth; local
[all...]
/macosx-10.10.1/tcl-105/tk/tk/win/
H A DtkWinButton.c456 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
474 fullWidth = (width > butPtr->textWidth ? width :
475 butPtr->textWidth);
476 textXOffset = (fullWidth - butPtr->textWidth)/2;
489 imageXOffset = butPtr->textWidth + butPtr->padX;
491 fullWidth = butPtr->textWidth + butPtr->padX + width;
503 fullWidth = (width > butPtr->textWidth ? width :
504 butPtr->textWidth);
507 textXOffset = (fullWidth - butPtr->textWidth)/2;
601 butPtr->indicatorSpace + butPtr->textWidth,
[all...]
H A DtkWinMenu.c2220 int textHeight = 0, textWidth = 0;
2245 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
2256 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
2259 textXOffset = (fullWidth - textWidth)/2;
2265 textXOffset = (fullWidth - textWidth)/2;
2294 imageXOffset = textWidth + 2;
2298 textXOffset = (fullWidth - textWidth)/2;
2724 int textWidth;
2727 textWidth
2193 int textHeight = 0, textWidth = 0; local
2692 int textWidth; local
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/win/
H A DtkWinButton.c462 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
477 fullWidth = (width > butPtr->textWidth ? width :
478 butPtr->textWidth);
479 textXOffset = (fullWidth - butPtr->textWidth)/2;
489 imageXOffset = butPtr->textWidth + butPtr->padX;
491 fullWidth = butPtr->textWidth + butPtr->padX + width;
500 fullWidth = (width > butPtr->textWidth ? width :
501 butPtr->textWidth);
504 textXOffset = (fullWidth - butPtr->textWidth)/2;
574 butPtr->indicatorSpace + butPtr->textWidth,
[all...]
H A DtkWinMenu.c2080 int textHeight, textWidth;
2104 textWidth = Tk_TextWidth(tkfont, label, mePtr->labelLength);
2115 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
2118 textXOffset = (fullWidth - textWidth)/2;
2125 textXOffset = (fullWidth - textWidth)/2;
2155 imageXOffset = textWidth + 2;
2160 textXOffset = (fullWidth - textWidth)/2;
2539 int textWidth;
2541 textWidth
2053 int textHeight, textWidth; local
2507 int textWidth; local
[all...]
/macosx-10.10.1/tcl-105/tk/tk/generic/
H A DtkMenubutton.h148 int textWidth; /* Width needed to display text as requested, member in struct:__anon13231
H A DtkButton.h208 int textWidth; /* Width needed to display text as requested, member in struct:__anon13203
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkMenubutton.h148 int textWidth; /* Width needed to display text as requested, member in struct:__anon13573
H A DtkButton.h201 int textWidth; /* Width needed to display text as requested, member in struct:__anon13550
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/tkpiechart/
H A Dcanlabel.tcl156 set textWidth [expr {[lindex $textBox 2] - [lindex $textBox 0]}]
163 set width [expr {$bulletWidth + $border + $padding + $textWidth}]
176 $left + $bulletWidth + $border + $padding + ($textWidth / 2.0)\
/macosx-10.10.1/tcl-105/tk/tk/macosx/
H A DtkMacOSXButton.c751 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
772 fullWidth = (width > butPtr->textWidth ? width :
773 butPtr->textWidth);
774 textXOffset = (fullWidth - butPtr->textWidth)/2;
786 imageXOffset = butPtr->textWidth + butPtr->padX;
788 fullWidth = butPtr->textWidth + butPtr->padX + width;
799 fullWidth = (width > butPtr->textWidth ? width :
800 butPtr->textWidth);
803 textXOffset = (fullWidth - butPtr->textWidth)/2;
919 butPtr->textWidth, butPt
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/macosx/
H A DtkMacOSXButton.c286 haveText = (butPtr->textWidth != 0 && butPtr->textHeight != 0);
307 fullWidth = (width > butPtr->textWidth ? width :
308 butPtr->textWidth);
309 textXOffset = (fullWidth - butPtr->textWidth)/2;
322 imageXOffset = butPtr->textWidth + butPtr->padX;
324 fullWidth = butPtr->textWidth + butPtr->padX + width;
336 fullWidth = (width > butPtr->textWidth ? width :
337 butPtr->textWidth);
340 textXOffset = (fullWidth - butPtr->textWidth)/2;
440 butPtr->indicatorSpace + butPtr->textWidth,
[all...]
H A DtkMacOSXMenu.c3477 int imageWidth, imageHeight, textWidth = 0, textHeight = 0;
3502 textWidth = Tk_TextWidth(tkfont,
3517 int fullWidth = (imageWidth > textWidth ? imageWidth : textWidth);
3521 textXOffset = (fullWidth - textWidth)/2;
3527 textXOffset = (fullWidth - textWidth)/2;
3550 imageXOffset = textWidth + 2 - menuTextTrailingEdgeMargin;
3553 textXOffset = (fullWidth - textWidth)/2;
3694 int textWidth = 0, textHeight = fmPtr->linespace;
3700 textWidth
3428 int imageWidth, imageHeight, textWidth = 0, textHeight = 0; local
3643 int textWidth = 0, textHeight = fmPtr->linespace; local
[all...]
H A DtkMacOSXMenubutton.c467 -1, mbPtr->wrapLength, mbPtr->justify, 0, &mbPtr->textWidth,
469 width = mbPtr->textWidth;
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/tablelist/scripts/
H A DtablelistWidget.tcl4767 set textWidth [getListWidth $win $list $colFont]
4769 set textWidth \
4773 if {$textWidth > $data($col-maxPixels)} {
4777 if {$textWidth == $data($col-elemWidth)} {
4779 } elseif {$textWidth > $data($col-elemWidth)} {
4780 set data($col-elemWidth) $textWidth
4782 if {$textWidth > $data($col-reqPixels)} {
4783 set data($col-reqPixels) $textWidth
4845 set textWidth [getListWidth $win $list $widgetFont]
4847 set textWidth \
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tktreectrl/tktreectrl/generic/
H A DtkTreeColumn.c98 int textWidth; member in struct:TreeColumn_
2229 column->textWidth = Tk_TextWidth(tkfont, column->text, column->textLen);
2231 column->textWidth = 0;
2622 if (!multiLine && ((maxLines == 1) || (!width || (width >= column->textWidth))))
2708 int textWidth; member in struct:Layout
2853 if (widthForText >= column->textWidth) {
2854 partText.width = column->textWidth;
3052 layout->textWidth = partText.width;
3140 widthList[n] = column->textWidth;
5113 column->textWidth
[all...]

Completed in 204 milliseconds

12