Home
last modified time | relevance | path

Searched refs:txtWidth (Results 26 – 41 of 41) sorted by relevance

12

/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/win/
H A DtkWinButton.c788 int txtWidth, txtHeight; /* Width and height of text */ local
834 txtWidth = butPtr->textWidth;
892 || (txtWidth + (int)(0.5 + (6 * hDLU)) > width)) {
893 width = txtWidth + (int)(0.5 + (6 * hDLU));
926 width = txtWidth;
948 width = txtWidth;
1003 if ((imgWidth + txtWidth + butPtr->padX) > width) {
1004 width = imgWidth + txtWidth + butPtr->padX;
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/tools/SRB2Updater/
H A DOptions.Designer.cs36 this.txtWidth = new System.Windows.Forms.TextBox(); in InitializeComponent()
100 this.groupDisplay.Controls.Add(this.txtWidth); in InitializeComponent()
139 this.txtWidth.Location = new System.Drawing.Point(66, 71); in InitializeComponent()
140 this.txtWidth.MaxLength = 4; in InitializeComponent()
141 this.txtWidth.Name = "txtWidth"; in InitializeComponent()
142 this.txtWidth.Size = new System.Drawing.Size(46, 21); in InitializeComponent()
143 this.txtWidth.TabIndex = 2; in InitializeComponent()
144 this.txtWidth.Text = "1024"; in InitializeComponent()
589 private System.Windows.Forms.TextBox txtWidth; field in SRB2Updater.Options
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/contrib/src/fl/
H A Dnewbmpbtn.cpp410 long txtWidth, txtHeight; in RenderLabelImage() local
413 srcDc.GetTextExtent( mLabelText, &txtWidth, &txtHeight ); in RenderLabelImage()
417 destDim.x = srcBmp->GetWidth() + 2*mTextToLabelGap + txtWidth; in RenderLabelImage()
431 wxMax( srcBmp->GetWidth(), txtWidth ); in RenderLabelImage()
435 txtPos.x = (destDim.x - txtWidth)/2; in RenderLabelImage()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/contrib/src/fl/
H A Dnewbmpbtn.cpp410 long txtWidth, txtHeight; in RenderLabelImage() local
413 srcDc.GetTextExtent( mLabelText, &txtWidth, &txtHeight ); in RenderLabelImage()
417 destDim.x = srcBmp->GetWidth() + 2*mTextToLabelGap + txtWidth; in RenderLabelImage()
431 wxMax( srcBmp->GetWidth(), txtWidth ); in RenderLabelImage()
435 txtPos.x = (destDim.x - txtWidth)/2; in RenderLabelImage()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/contrib/src/fl/
H A Dnewbmpbtn.cpp410 long txtWidth, txtHeight; in RenderLabelImage() local
413 srcDc.GetTextExtent( mLabelText, &txtWidth, &txtHeight ); in RenderLabelImage()
417 destDim.x = srcBmp->GetWidth() + 2*mTextToLabelGap + txtWidth; in RenderLabelImage()
431 wxMax( srcBmp->GetWidth(), txtWidth ); in RenderLabelImage()
435 txtPos.x = (destDim.x - txtWidth)/2; in RenderLabelImage()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/contrib/src/fl/
H A Dnewbmpbtn.cpp410 long txtWidth, txtHeight; in RenderLabelImage() local
413 srcDc.GetTextExtent( mLabelText, &txtWidth, &txtHeight ); in RenderLabelImage()
417 destDim.x = srcBmp->GetWidth() + 2*mTextToLabelGap + txtWidth; in RenderLabelImage()
431 wxMax( srcBmp->GetWidth(), txtWidth ); in RenderLabelImage()
435 txtPos.x = (destDim.x - txtWidth)/2; in RenderLabelImage()
/dports/x11-wm/lxqt-panel/lxqt-panel-1.0.0/plugin-taskbar/
H A Dlxqttaskgroup.cpp493 int txtWidth = 0; in recalculateFrameWidth() local
495 txtWidth = qMax(fm.horizontalAdvance(btn->text()), txtWidth); in recalculateFrameWidth()
496 … return iconSize().width() + qMin(txtWidth, max) + 30/* give enough room to margins and borders*/; in recalculateFrameWidth()
/dports/misc/xless/xless-1.7/
H A Dinit.c642 Dimension txtWidth, txtHeight; local
657 XtNwidth, &txtWidth,
667 baseWidth = winWidth - txtWidth;
/dports/multimedia/openshot/openshot-qt-2.6.1/src/windows/
H A Dexport.py265 self.txtWidth.valueChanged.connect(self.updateFrameRate)
320 self.timeline.info.width = self.txtWidth.value()
420 self.txtWidth.setValue(profile.info.width)
770 "width": self.txtWidth.value(),
H A Dfile_properties.py95 self.txtWidth.setValue(self.file.data["width"])
/dports/x11-toolkits/blt/blt2.5/generic/
H A DtkButton.c2860 int width, height, avgWidth, txtWidth, txtHeight; local
2895 txtWidth = 0;
2945 txtWidth = butPtr->textWidth;
2949 haveText = (txtWidth != 0 && txtHeight != 0);
2969 width = (width > txtWidth ? width : txtWidth);
2977 width += txtWidth + butPtr->padX;
2985 width = (width > txtWidth ? width : txtWidth);
3048 width = txtWidth;
/dports/games/barony/Barony-3.3.7/src/interface/
H A Dinterface.cpp3555 int txtWidth = 0; in updateGUI() local
3564 TTF_SizeUTF8(ttf8, language[3644], &txtWidth, &txtHeight); in updateGUI()
3567 highlightBtn.w = txtWidth + 2 * charWidth + 4; in updateGUI()
3583 TTF_SizeUTF8(font, language[3645], &txtWidth, &txtHeight); in updateGUI()
3586 highlightBtn.w = txtWidth + 2 * charWidth + 4; in updateGUI()
3602 TTF_SizeUTF8(font, language[3646], &txtWidth, &txtHeight); in updateGUI()
3605 highlightBtn.w = txtWidth + 2 * charWidth + 4; in updateGUI()
3621 TTF_SizeUTF8(font, language[356], &txtWidth, &txtHeight); in updateGUI()
3709 int txtWidth = 0; in updateGUI() local
3721 highlightBtn.w = txtWidth + 2 * charWidth + 4; in updateGUI()
[all …]
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/
H A DCGUIEditBox.cpp1378 s32 txtWidth = font->getDimension(txtLine->c_str()).Width; in calculateScrollPos() local
1380 if ( txtWidth < FrameRect.getWidth() ) in calculateScrollPos()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/
H A DCGUIEditBox.cpp1375 s32 txtWidth = font->getDimension(txtLine->c_str()).Width; in calculateScrollPos() local
1377 if ( txtWidth < FrameRect.getWidth() ) in calculateScrollPos()
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/style/qt4/
H A DKvantum4.cpp6874 int txtWidth = r.width()-lspec.right-lspec.left-fspec.left-fspec.right in drawControl() local
6879 if (txtSize.width() > txtWidth) in drawControl()
6888 txtWidth); in drawControl()
13186 int txtWidth = textSize(sb->font(),maxTxt,false).width(); in subControlRect() local
13187 int rightFrame = w - txtWidth - 2*sw in subControlRect()
13195 rightFrame = w-txtWidth-2*sw-3-2; in subControlRect()
13199 if (rightFrame > 2 || w >= txtWidth+ 2*8 + 2) // otherwise wouldn't help in subControlRect()
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/style/
H A DKvantum.cpp7083 int txtWidth = r.width() - lspec.right-lspec.left-fspec.left-fspec.right in drawControl() local
7095 if (txtSize.width() > txtWidth) in drawControl()
7104 txtWidth, Qt::TextShowMnemonic); in drawControl()
15435 int txtWidth = textSize(sb->font(),maxTxt).width(); in subControlRect() local
15436 int rightFrame = w - txtWidth - 2*sw in subControlRect()
15444 rightFrame = w-txtWidth-2*sw-3-2; in subControlRect()
15448 if (rightFrame > 2 || w >= txtWidth+ 2*8 + 2) // otherwise wouldn't help in subControlRect()

12