Home
last modified time | relevance | path

Searched refs:_spacing (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/ui/
H A Dgrouped_layout.cpp51 const int _spacing = 0; member in Ui::__anon3019f00e0111::Layouter
83 const int _spacing = 0; member in Ui::__anon3019f00e0111::ComplexLayouter
102 , _spacing(spacing) in Layouter()
137 _spacing).layout(); in layout()
249 - _spacing; in layoutTwoLeftRight()
278 - _spacing; in layoutThreeLeftAndOther()
372 QRect(w0 + _spacing, h0 + _spacing, w1, h1), in layoutFourTopAndOther()
376 QRect(w0 + _spacing + w1 + _spacing, h0 + _spacing, w2, h1), in layoutFourTopAndOther()
411 QRect(w0 + _spacing, h0 + _spacing, w1, h1), in layoutFourLeftAndOther()
415 QRect(w0 + _spacing, h0 + h1 + 2 * _spacing, w1, h2), in layoutFourLeftAndOther()
[all …]
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/widgets/
H A Dpalettewidget.cpp102 _spacing = spacing; in setSpacing()
110 s.setWidth(qMax(1+_spacing*2, (availableWidth-_spacing)/_columns - _spacing)); in calcSwatchSize()
286 qMin(_columns, totalCount) * (_swatchsize.width() + _spacing) + _spacing, in paintEvent()
287 divRoundUp(totalCount, _columns) * (_swatchsize.height() + _spacing) + _spacing in paintEvent()
480 if(x < _spacing+padding || x> _swatchsize.width()+_spacing) in indexAt()
507 const int x = (point.x()-_leftMargin-_spacing) / (_spacing + _swatchsize.width()); in nearestAt()
523 _leftMargin + _spacing + (_swatchsize.width()+_spacing) * (index%_columns), in swatchRect()
524 _spacing + (_swatchsize.height()+_spacing) * (index/_columns) - _scroll, in swatchRect()
538 _leftMargin + _spacing/2 + (_swatchsize.width()+_spacing) * (index%_columns), in betweenRect()
539 _spacing + (_swatchsize.height()+_spacing) * (index/_columns) - _scroll, in betweenRect()
[all …]
/dports/games/burrtools/burrtools-0.6.3/src/flu/
H A DFlu_Wrap_Group.cpp128 measure[1] = w->y() - _spacing[1]; in above()
226 maxH += H + _spacing[1]; in layout()
229 Y += H + _spacing[1]; in layout()
230 scrollY += H + _spacing[1]; in layout()
232 maxH += H + _spacing[1]; in layout()
258 X += c->w() + _spacing[0]; in layout()
315 maxW += W + _spacing[0]; in layout()
319 X += W + _spacing[0]; in layout()
320 scrollX += W + _spacing[0]; in layout()
322 maxW += W + _spacing[0]; in layout()
[all …]
H A DFlu_Wrap_Group.h104 { _spacing[0] = x, _spacing[1] = y; redraw(); } in spacing()
108 { return _spacing[0]; } in spacing_x()
112 { return _spacing[1]; } in spacing_y()
191 int _offset[2], _spacing[2], _type; variable
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/moments/
H A DComputeMoments.h37 , RadiusDiscrete(vtkm::IdComponent(_radius / (_spacing[0] - 1e-10)), in ComputeMoments2D()
40 , SpacingProduct(_spacing[0] * _spacing[1]) in ComputeMoments2D()
44 assert(_spacing[0] > 1e-10); in ComputeMoments2D()
45 assert(_spacing[1] > 1e-10); in ComputeMoments2D()
46 assert(_spacing[2] > 1e-10); in ComputeMoments2D()
111 , SpacingProduct(vtkm::ReduceProduct(_spacing)) in ComputeMoments3D()
116 assert(_spacing[0] > 1e-10); in ComputeMoments3D()
117 assert(_spacing[1] > 1e-10); in ComputeMoments3D()
118 assert(_spacing[2] > 1e-10); in ComputeMoments3D()
189 ComputeMoments(const vtkm::Vec3f& _spacing, const double _radius) in ComputeMoments() argument
[all …]
/dports/devel/poco/poco-1.10.1-all/Data/src/
H A DSimpleRowFormatter.cpp25 _colWidth(columnWidth), _spacing(spacing), _rowCount(0) in SimpleRowFormatter()
33 _spacing(other._spacing), in SimpleRowFormatter()
59 swap(_spacing, other._spacing); in swap()
68 …std::string line(std::string::size_type(pNames->size()*_colWidth + (pNames->size() - 1)*_spacing),… in formatNames()
69 std::string space(_spacing, ' '); in formatNames()
86 std::string space(_spacing, ' '); in formatValues()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/agw/
H A Dsupertooltip.py250 self._spacing = 6
314 bmpXPos = self._spacing
326 dc.DrawText(header, bmpXPos+bmpWidth+self._spacing, (height-textHeight+self._spacing)/2)
335 … dc.DrawLine(self._spacing, yPos+self._spacing, width-self._spacing, yPos+self._spacing)
356 … dc.DrawLine(self._spacing, yText+self._spacing, width-self._spacing, yText+self._spacing)
377 xText = (bmpWidth + 2 * self._spacing) if bmpWidth > 0 else self._spacing
387 toAdd = self._spacing
394 dc.DrawBitmap(embeddedImage, self._spacing, embImgPos + (self._spacing * 2), True)
403 bmpXPos = self._spacing
414 dc.DrawLine(self._spacing, yPos-self._spacing/2+toAdd,
[all …]
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/db/
H A DdbTechLayerSpacingRule.h83 uint _spacing; variable
112 _spacing(r._spacing), in _dbTechLayerSpacingRule()
133 _spacing = 0; in _dbTechLayerSpacingRule()
156 uint _spacing; variable
175 : _width(e._width), _within(e._within), _spacing(e._spacing) in _dbTechV55InfluenceEntry()
184 _spacing = 0; in _dbTechV55InfluenceEntry()
H A DdbRow.cpp80 if (_spacing != rhs._spacing) in operator ==()
120 if (_spacing < rhs._spacing) in operator <()
123 if (_spacing > rhs._spacing) in operator <()
154 DIFF_FIELD(_spacing); in differences()
169 DIFF_OUT_FIELD(_spacing); in out()
230 return row->_spacing; in getSpacing()
254 int xMax = x + (row->_site_cnt - 1) * row->_spacing + dx; in getBBox()
259 int yMax = y + (row->_site_cnt - 1) * row->_spacing + dy; in getBBox()
287 row->_spacing = spacing; in create()
H A DdbTechSameNetRule.h61 uint _spacing; variable
83 _spacing(r._spacing), in _dbTechSameNetRule()
93 _spacing = 0; in _dbTechSameNetRule()
104 stream << rule._spacing;
114 stream >> rule._spacing;
H A DdbTechLayerRule.cpp51 _spacing(r._spacing), in _dbTechLayerRule()
65 _spacing = 0; in _dbTechLayerRule()
81 stream << rule._spacing; in operator <<()
96 stream >> rule._spacing; in operator >>()
111 if (_spacing != rhs._spacing) in operator ==()
142 DIFF_FIELD(_spacing); in differences()
157 DIFF_OUT_FIELD(_spacing); in out()
235 return rule->_spacing; in getSpacing()
241 rule->_spacing = spacing; in setSpacing()
H A DdbRow.h70 int _spacing; variable
91 _spacing(r._spacing) in _dbRow()
108 _spacing = 0; in _dbRow()
127 stream << row._spacing;
141 stream >> row._spacing;
H A DdbTechSameNetRule.cpp52 if (_spacing != rhs._spacing) in operator ==()
70 DIFF_FIELD(_spacing); in differences()
80 DIFF_OUT_FIELD(_spacing); in out()
109 return rule->_spacing; in getSpacing()
115 rule->_spacing = spacing; in setSpacing()
H A DdbTechLayerSpacingRule.cpp69 if (_spacing != rhs._spacing) in operator ==()
111 DIFF_FIELD(_spacing); in differences()
134 DIFF_OUT_FIELD(_spacing); in out()
155 if (_spacing != rhs._spacing) in operator ==()
169 DIFF_FIELD(_spacing); in differences()
180 DIFF_OUT_FIELD(_spacing); in out()
195 stream << rule._spacing; in operator <<()
211 stream >> rule._spacing; in operator >>()
256 return _lsp->_spacing; in getSpacing()
262 _lsp->_spacing = spacing; in setSpacing()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Engine/
H A DFont.cpp41 Font::Font() : _surface(0), _width(0), _height(0), _spacing(0), _chars(), _monospace(false) in Font()
71 _spacing = node["spacing"].as<int>(_spacing); in load()
91 _spacing = 0; in loadTerminal()
218 return _spacing; in getSpacing()
231 size.w = _chars[c].w + _spacing; in getCharSize()
232 size.h = _chars[c].h + _spacing; in getCharSize()
237 size.w = _width + _spacing; in getCharSize()
242 size.h = _height + _spacing; in getCharSize()
/dports/games/battletanks/btanks-0.9.8083/engine/menu/
H A Dgrid.cpp5 Grid::Grid(const int w, const int h) : _spacing(0) { in Grid()
74 xc -= _spacing; in render()
79 xc = _spacing; in render()
90 yc -= _spacing; in render()
93 yc = _spacing; in render()
130 xc -= _spacing; in find()
135 xc = _spacing; in find()
146 yc -= _spacing; in find()
149 yc = _spacing; in find()
186 cw += 2 * _spacing * d.colspan; in recalculate()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wintermute/ad/
H A Dad_inventory_box.cpp53 _spacing = 0; in IMPLEMENT_PERSISTENT()
112 …X = (int)floor((float)((_itemsArea.right - _itemsArea.left + _spacing) / (_itemWidth + _spacing))); in display()
113 … = (int)floor((float)((_itemsArea.bottom - _itemsArea.top + _spacing) / (_itemHeight + _spacing))); in display()
154 xxx += (_itemWidth + _spacing); in display()
156 yyy += (_itemHeight + _spacing); in display()
283 parser.scanStr(params, "%d", &_spacing); in TOKEN_DEF()
348 buffer->putTextIndent(indent + 2, "SPACING=%d\n", _spacing); in saveAsText()
381 persistMgr->transferSint32(TMEMBER(_spacing)); in persist()
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/ad/
H A Dad_inventory_box.cpp53 _spacing = 0; in IMPLEMENT_PERSISTENT()
112 …X = (int)floor((float)((_itemsArea.right - _itemsArea.left + _spacing) / (_itemWidth + _spacing))); in display()
113 … = (int)floor((float)((_itemsArea.bottom - _itemsArea.top + _spacing) / (_itemHeight + _spacing))); in display()
154 xxx += (_itemWidth + _spacing); in display()
156 yyy += (_itemHeight + _spacing); in display()
283 parser.scanStr(params, "%d", &_spacing); in TOKEN_DEF()
351 buffer->putTextIndent(indent + 2, "SPACING=%d\n", _spacing); in saveAsText()
384 persistMgr->transferSint32(TMEMBER(_spacing)); in persist()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sherlock/tattoo/
H A Dtattoo_darts.cpp73 _spacing = 0; in Darts()
91 _spacing = screen.fontHeight() + 2; in playDarts()
220 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 3), 0, in playDarts()
224 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 3), in playDarts()
236 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 5), 0, in playDarts()
392 STATUS_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
393 screen.fillRect(Common::Rect(STATUS_INFO_X, STATUS_INFO_Y + _spacing + 1, in showNames()
394 STATUS_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
399 STATUS2_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
400 screen.fillRect(Common::Rect(STATUS2_INFO_X, STATUS_INFO_Y + _spacing + 1, in showNames()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sherlock/tattoo/
H A Dtattoo_darts.cpp73 _spacing = 0; in Darts()
91 _spacing = screen.fontHeight() + 2; in playDarts()
220 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 3), 0, in playDarts()
224 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 3), in playDarts()
236 screen.print(Common::Point(_dartInfo.left, _dartInfo.top + _spacing * 5), 0, in playDarts()
392 STATUS_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
393 screen.fillRect(Common::Rect(STATUS_INFO_X, STATUS_INFO_Y + _spacing + 1, in showNames()
394 STATUS_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
399 STATUS2_INFO_X + 50, STATUS_INFO_Y + _spacing + 3), color); in showNames()
400 screen.fillRect(Common::Rect(STATUS2_INFO_X, STATUS_INFO_Y + _spacing + 1, in showNames()
[all …]
/dports/games/wop/wop-0.4.3/sdlwidgets/
H A Dlayout.h77 Uint16 _spacing; variable
81 : LayoutManager( widget ), _border_spacing( 0 ), _spacing( 1 ) { } in VerticalLayout()
89 _spacing = spacing; in setSpacing()
105 Uint16 _spacing; variable
109 : LayoutManager( widget ), _spacing( 1 ) { } in HorizontalLayout()
113 _spacing = spacing; in setSpacing()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgManipulator/
H A DConstraint.cpp59 : Constraint(refNode), _origin(origin), _spacing(spacing) in GridConstraint()
75 _spacing); in constrain()
93 osg::Vec3d snappedLocalRefPoint = snap_point_to_grid(localRefPoint, _origin, _spacing); in constrain()
99 … osg::Vec3d newLocalTranslatedPoint = snap_point_to_grid(localTranslatedPoint, _origin, _spacing); in constrain()
118 osg::Vec3d commandSpacing = (_origin + _spacing) * constraintToCommand - commandOrigin; in constrain()
146 osg::Vec3d commandSpacing = (_origin + _spacing) * constraintToCommand - commandOrigin; in constrain()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgManipulator/
H A DConstraint.cpp59 : Constraint(refNode), _origin(origin), _spacing(spacing) in GridConstraint()
75 _spacing); in constrain()
93 osg::Vec3d snappedLocalRefPoint = snap_point_to_grid(localRefPoint, _origin, _spacing); in constrain()
99 … osg::Vec3d newLocalTranslatedPoint = snap_point_to_grid(localTranslatedPoint, _origin, _spacing); in constrain()
118 osg::Vec3d commandSpacing = (_origin + _spacing) * constraintToCommand - commandOrigin; in constrain()
146 osg::Vec3d commandSpacing = (_origin + _spacing) * constraintToCommand - commandOrigin; in constrain()
/dports/games/libretro-scummvm/scummvm-7b1e929/gui/
H A DThemeLayout.cpp91 const int spacing = ((ThemeLayoutStacked *)p)->_spacing; in getParentWidth()
111 const int spacing = ((ThemeLayoutStacked *)p)->_spacing; in getParentHeight()
213 curY += _children[i]->getHeight() + _spacing; in reflowLayoutVertical()
217 _h += _children[i]->getHeight() + _spacing; in reflowLayoutVertical()
223 _h -= _spacing; in reflowLayoutVertical()
276 curX += (_children[i]->getWidth() + _spacing); in reflowLayoutHorizontal()
279 _w += _children[i]->getWidth() + _spacing; in reflowLayoutHorizontal()
286 _w -= _spacing; in reflowLayoutHorizontal()
/dports/games/residualvm/residualvm-0.3.1/gui/
H A DThemeLayout.cpp91 const int spacing = ((ThemeLayoutStacked *)p)->_spacing; in getParentWidth()
111 const int spacing = ((ThemeLayoutStacked *)p)->_spacing; in getParentHeight()
213 curY += _children[i]->getHeight() + _spacing; in reflowLayoutVertical()
217 _h += _children[i]->getHeight() + _spacing; in reflowLayoutVertical()
223 _h -= _spacing; in reflowLayoutVertical()
276 curX += (_children[i]->getWidth() + _spacing); in reflowLayoutHorizontal()
279 _w += _children[i]->getWidth() + _spacing; in reflowLayoutHorizontal()
286 _w -= _spacing; in reflowLayoutHorizontal()

12345678910>>...14