Home
last modified time | relevance | path

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

12

/dports/databases/spatialite_gui/spatialite_gui-1.7.1/
H A DDialogsGraph.cpp1119 double txtWidth; in DoIntervalHistogram() local
1191 labelWidth = txtWidth; in DoIntervalHistogram()
1197 labelWidth = txtWidth; in DoIntervalHistogram()
1203 labelWidth = txtWidth; in DoIntervalHistogram()
1209 labelWidth = txtWidth; in DoIntervalHistogram()
1406 double txtWidth; in DoIntervalLineChart() local
1466 labelWidth = txtWidth; in DoIntervalLineChart()
1690 double txtWidth; in DoIntervalPieChart() local
1926 double txtWidth; in DoUniqueHistogram() local
2218 double txtWidth; in DoUniqueLineChart() local
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/tools/SRB2Updater/
H A DOptions.cs28 txtWidth.Text = settings.displayWidth.ToString(); in SetOptions()
38 txtWidth.Enabled = true; in SetOptions()
43 txtWidth.Enabled = false; in SetOptions()
52 txtWidth.Enabled = true; in chkCustomResolution_CheckedChanged()
57 txtWidth.Enabled = false; in chkCustomResolution_CheckedChanged()
65 settings.displayWidth = Convert.ToInt32(txtWidth.Text); in btnSave_Click()
/dports/math/cgal/CGAL-5.3/demo/Arrangement_on_surface_2/
H A DGridGraphicsItem.cpp190 qreal txtWidth = horizontalAdvance(fm, txt) + 4; in paint() local
193 sign * QPointF{uy.x() * txtWidth, uy.y() * txtHeight} / scaleY; in paint()
196 pos.x() - txtWidth / 2, pos.y() - txtHeight / 2, txtWidth, txtHeight, in paint()
207 qreal txtWidth = horizontalAdvance(fm, txt) + 4; in paint() local
210 sign * QPointF{ux.x() * txtWidth, ux.y() * txtHeight} / scaleX; in paint()
213 pos.x() - txtWidth / 2, pos.y() - txtHeight / 2, txtWidth, txtHeight, in paint()
/dports/x11-toolkits/tk87/tk8.7a5/unix/
H A DtkUnixMenubu.c348 int avgWidth, txtWidth, txtHeight; in TkpComputeMenuButtonGeometry() local
356 txtWidth = 0; in TkpComputeMenuButtonGeometry()
374 txtWidth = mbPtr->textWidth; in TkpComputeMenuButtonGeometry()
378 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeMenuButtonGeometry()
397 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
405 width += txtWidth + mbPtr->padX; in TkpComputeMenuButtonGeometry()
413 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
436 width = txtWidth; in TkpComputeMenuButtonGeometry()
H A DtkUnixButton.c861 int width, height, avgWidth, txtWidth, txtHeight; in TkpComputeButtonGeometry() local
878 txtWidth = 0; in TkpComputeButtonGeometry()
897 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
901 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeButtonGeometry()
920 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
928 width += txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
936 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
978 width = txtWidth; in TkpComputeButtonGeometry()
/dports/x11-toolkits/tk86/tk8.6.12/unix/
H A DtkUnixMenubu.c347 int avgWidth, txtWidth, txtHeight; in TkpComputeMenuButtonGeometry() local
355 txtWidth = 0; in TkpComputeMenuButtonGeometry()
373 txtWidth = mbPtr->textWidth; in TkpComputeMenuButtonGeometry()
377 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeMenuButtonGeometry()
396 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
404 width += txtWidth + mbPtr->padX; in TkpComputeMenuButtonGeometry()
412 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
435 width = txtWidth; in TkpComputeMenuButtonGeometry()
H A DtkUnixButton.c861 int width, height, avgWidth, txtWidth, txtHeight; in TkpComputeButtonGeometry() local
878 txtWidth = 0; in TkpComputeButtonGeometry()
897 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
901 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeButtonGeometry()
920 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
928 width += txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
936 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
978 width = txtWidth; in TkpComputeButtonGeometry()
/dports/x11-toolkits/tk85/tk8.5.19/unix/
H A DtkUnixMenubu.c360 int avgWidth, txtWidth, txtHeight; in TkpComputeMenuButtonGeometry() local
368 txtWidth = 0; in TkpComputeMenuButtonGeometry()
386 txtWidth = mbPtr->textWidth; in TkpComputeMenuButtonGeometry()
390 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeMenuButtonGeometry()
409 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
417 width += txtWidth + mbPtr->padX; in TkpComputeMenuButtonGeometry()
425 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
448 width = txtWidth; in TkpComputeMenuButtonGeometry()
H A DtkUnixButton.c855 int width, height, avgWidth, txtWidth, txtHeight; in TkpComputeButtonGeometry() local
872 txtWidth = 0; in TkpComputeButtonGeometry()
891 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
895 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeButtonGeometry()
914 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
922 width += txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
930 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
972 width = txtWidth; in TkpComputeButtonGeometry()
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/
H A DtkUnixMenubu.c353 int avgWidth, txtWidth, txtHeight; local
361 txtWidth = 0;
379 txtWidth = mbPtr->textWidth;
383 haveText = (txtWidth != 0 && txtHeight != 0);
399 width = (width > txtWidth ? width : txtWidth);
405 width += txtWidth + mbPtr->padX;
411 width = (width > txtWidth ? width : txtWidth);
434 width = txtWidth;
/dports/x11-toolkits/tk85/tk8.5.19/macosx/
H A DtkMacOSXMenubutton.c208 int txtWidth, txtHeight; local
220 txtWidth = 0;
240 txtWidth = butPtr->textWidth;
244 haveText = (txtWidth != 0 && txtHeight != 0);
263 width = (width > txtWidth ? width : txtWidth);
272 width += txtWidth + butPtr->padX;
281 width = (width > txtWidth ? width : txtWidth);
304 width = txtWidth;
H A DtkMacOSXButton.c274 int txtWidth = 0, txtHeight = 0; in TkpComputeButtonGeometry() local
321 txtWidth = butPtr->textWidth + DEF_INSET_LEFT + DEF_INSET_RIGHT; in TkpComputeButtonGeometry()
325 haveText = (txtWidth != 0 && txtHeight != 0); in TkpComputeButtonGeometry()
337 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
345 width += txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
353 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
366 width = txtWidth + butPtr->indicatorSpace; in TkpComputeButtonGeometry()
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/Chem/Draw/
H A DspingCanvas.py61 txtWidth, txtHeight = self.canvas.stringBox(text, font)
62 bw, bh = txtWidth + txtHeight * 0.4, txtHeight * 1.4
63 offset = txtWidth * pos[2]
64 labelP = pos[0] - txtWidth / 2 + offset, pos[1] + txtHeight / 2
/dports/astro/tkgeomap/tkgeomap-2.11.6/tk/
H A DtkgeomapPlace.c56 int txtWidth; /* Width of text box */ member
1538 int txtWidth, txtHeight; local
1555 plcItemPtr->xTxt = -txtWidth / 2;
1561 plcItemPtr->xTxt = -txtWidth;
1567 plcItemPtr->xTxt = -txtWidth;
1573 plcItemPtr->xTxt = -txtWidth;
1579 plcItemPtr->xTxt = -txtWidth / 2;
1584 -1, -1, TK_JUSTIFY_LEFT, 0, &txtWidth, &txtHeight);
1603 plcItemPtr->xTxt = -txtWidth / 2;
1608 plcItemPtr->txtWidth = txtWidth;
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/unix/
H A DtkUnixButton.c570 int width, height, avgWidth, txtWidth, txtHeight; local
587 txtWidth = 0;
606 txtWidth = butPtr->textWidth;
610 haveText = (txtWidth != 0 && txtHeight != 0);
626 width = (width > txtWidth ? width : txtWidth);
632 width += txtWidth + butPtr->padX;
638 width = (width > txtWidth ? width : txtWidth);
681 width = txtWidth;
/dports/x11-toolkits/tk87/tk8.7a5/macosx/
H A DtkMacOSXMenubutton.c247 int txtWidth, txtHeight; in TkpComputeMenuButtonGeometry() local
257 txtWidth = 0; in TkpComputeMenuButtonGeometry()
275 txtWidth = butPtr->textWidth; in TkpComputeMenuButtonGeometry()
297 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
305 width += txtWidth + butPtr->padX; in TkpComputeMenuButtonGeometry()
313 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
336 width = txtWidth; in TkpComputeMenuButtonGeometry()
H A DtkMacOSXButton.c273 int txtWidth = 0, txtHeight = 0; in TkpComputeButtonGeometry() local
322 txtWidth = butPtr->textWidth + 2*butPtr->padX; in TkpComputeButtonGeometry()
337 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
345 width += txtWidth + 2*butPtr->padX; in TkpComputeButtonGeometry()
353 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
371 width = txtWidth + butPtr->indicatorSpace; in TkpComputeButtonGeometry()
/dports/x11-toolkits/tk86/tk8.6.12/macosx/
H A DtkMacOSXMenubutton.c247 int txtWidth, txtHeight; in TkpComputeMenuButtonGeometry() local
257 txtWidth = 0; in TkpComputeMenuButtonGeometry()
275 txtWidth = butPtr->textWidth; in TkpComputeMenuButtonGeometry()
297 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
305 width += txtWidth + butPtr->padX; in TkpComputeMenuButtonGeometry()
313 width = (width > txtWidth ? width : txtWidth); in TkpComputeMenuButtonGeometry()
336 width = txtWidth; in TkpComputeMenuButtonGeometry()
H A DtkMacOSXButton.c273 int txtWidth = 0, txtHeight = 0; in TkpComputeButtonGeometry() local
322 txtWidth = butPtr->textWidth + 2*butPtr->padX; in TkpComputeButtonGeometry()
337 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
345 width += txtWidth + 2*butPtr->padX; in TkpComputeButtonGeometry()
353 width = (width > txtWidth ? width : txtWidth); in TkpComputeButtonGeometry()
371 width = txtWidth + butPtr->indicatorSpace; in TkpComputeButtonGeometry()
/dports/net/eventviews/eventviews-21.12.3/src/agenda/
H A Dagendaitem.cpp884 int txtWidth; in paintEvent() local
890 txtWidth = visRect.right() - margin - x; in paintEvent()
894 txtWidth = width() - margin - x; in paintEvent()
898 KWordWrap::drawFadeoutText(&p, x, y, txtWidth, mLabelText); in paintEvent()
907 int txtWidth; in paintEvent() local
912 txtWidth = visRect.right() - margin - x; in paintEvent()
915 txtWidth = width() - margin - x; in paintEvent()
932 int txtWidth; in paintEvent() local
989 txtWidth = visRect.right() - margin - x; in paintEvent()
1004 txtWidth = width() - margin - x; in paintEvent()
[all …]
/dports/astro/phd2/phd2-2.6.10/
H A Daui_controls.cpp138 int txtWidth; member in SBStateIndicatorItem
499 int txtWidth; in PositionControls() local
511 m_parentPanel->GetTextExtent(txtSizer, &txtWidth, &txtHeight); in PositionControls()
515 decPosition.x += txtWidth + 8; in PositionControls()
570 m_parentPanel->GetTextExtent(indLabel, &txtWidth, &txtHeight); in SBStateIndicatorItem()
574 …StaticText(m_parentPanel, wxID_ANY, indLabel, wxDefaultPosition, wxSize(txtWidth + m_parentPanel->… in SBStateIndicatorItem()
575 fldWidths.push_back(txtWidth + 2 * m_parentPanel->emWidth); in SBStateIndicatorItem()
906 int txtWidth, txtHeight; in PHDStatusBar() local
907 …GetTextExtent(_("Selected star at (999.9, 999.9)"), &txtWidth, &txtHeight); // only care a… in PHDStatusBar()
910 …fieldWidths.push_back(txtWidth); // Doesn't matter but we need to occupy the po… in PHDStatusBar()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/
H A DGUIButtonControl.cpp136 float txtWidth = m_label.GetTextWidth() + 2 * m_label.GetLabelInfo().offsetX; in GetWidth() local
140 txtWidth += m_label2.GetTextWidth() + 2 * m_label2.GetLabelInfo().offsetX + min_space; in GetWidth()
142 float maxWidth = m_maxWidth ? m_maxWidth : txtWidth; in GetWidth()
143 return CLAMP(txtWidth, m_minWidth, maxWidth); in GetWidth()
/dports/x11-toolkits/tk85/tk8.5.19/win/
H A DtkWinButton.c812 int txtWidth, txtHeight; /* Width and height of text */ in TkpComputeButtonGeometry() local
862 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
920 || (txtWidth + (int)(0.5 + (6 * hDLU)) > width)) { in TkpComputeButtonGeometry()
921 width = txtWidth + (int)(0.5 + (6 * hDLU)); in TkpComputeButtonGeometry()
956 width = txtWidth; in TkpComputeButtonGeometry()
980 width = txtWidth; in TkpComputeButtonGeometry()
1044 if ((imgWidth + txtWidth + butPtr->padX) > width) { in TkpComputeButtonGeometry()
1045 width = imgWidth + txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
/dports/x11-toolkits/tk87/tk8.7a5/win/
H A DtkWinButton.c824 int txtWidth, txtHeight; /* Width and height of text */ in TkpComputeButtonGeometry() local
874 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
932 || (txtWidth + (int)(0.5 + (6 * hDLU)) > width)) { in TkpComputeButtonGeometry()
933 width = txtWidth + (int)(0.5 + (6 * hDLU)); in TkpComputeButtonGeometry()
968 width = txtWidth; in TkpComputeButtonGeometry()
992 width = txtWidth; in TkpComputeButtonGeometry()
1056 if ((imgWidth + txtWidth + butPtr->padX) > width) { in TkpComputeButtonGeometry()
1057 width = imgWidth + txtWidth + butPtr->padX; in TkpComputeButtonGeometry()
/dports/x11-toolkits/tk86/tk8.6.12/win/
H A DtkWinButton.c823 int txtWidth, txtHeight; /* Width and height of text */ in TkpComputeButtonGeometry() local
873 txtWidth = butPtr->textWidth; in TkpComputeButtonGeometry()
931 || (txtWidth + (int)(0.5 + (6 * hDLU)) > width)) { in TkpComputeButtonGeometry()
932 width = txtWidth + (int)(0.5 + (6 * hDLU)); in TkpComputeButtonGeometry()
967 width = txtWidth; in TkpComputeButtonGeometry()
991 width = txtWidth; in TkpComputeButtonGeometry()
1055 if ((imgWidth + txtWidth + butPtr->padX) > width) { in TkpComputeButtonGeometry()
1056 width = imgWidth + txtWidth + butPtr->padX; in TkpComputeButtonGeometry()

12