/dports/emulators/stella/stella-6.6/src/gui/ |
H A D | CheckListWidget.cxx | 32 _lineHeight = std::max(_lineHeight, CheckboxWidget::boxSize(_font)); in CheckListWidget() 33 _rows = h / _lineHeight; in CheckListWidget() 43 ypos += _lineHeight; in CheckListWidget() 98 const int y = _y + 2 + _lineHeight * i + 2; in drawWidget() 108 s.fillRect(_x + r.x() - 3, _y + 1 + _lineHeight * i, in drawWidget() 109 _w - r.x(), _lineHeight, kTextColorHi); in drawWidget() 113 s.frameRect(_x + r.x() - 3, _y + 1 + _lineHeight * i, in drawWidget() 114 _w - r.x(), _lineHeight, kTextColorHi); in drawWidget() 138 const int yoffset = (_selectedItem - _currentPos) * _lineHeight, in getEditRect() 142 _w - (xoffset - 15), _lineHeight + yoffset); in getEditRect()
|
H A D | StringListWidget.cxx | 56 int idx = (pos.y - getAbsY()) / _lineHeight + _currentPos; in getToolTipIndex() 104 const int y = _y + 2 + _lineHeight * i; in drawWidget() 112 s.fillRect(_x + 1, _y + 1 + _lineHeight * i, _w - 1, _lineHeight, kTextColorHi); in drawWidget() 116 s.frameRect(_x + 1, _y + 1 + _lineHeight * i, _w - 1, _lineHeight, kWidColorHi); in drawWidget() 142 const int offset = std::max(0, (_selectedItem - _currentPos) * _lineHeight); in getEditRect() 143 return Common::Rect(_textOfs, 1 + offset, _w - _textOfs, _lineHeight + offset); in getEditRect()
|
/dports/emulators/stella/stella-6.6/src/debugger/gui/ |
H A D | FlashWidget.cxx | 41 ypos += _lineHeight * 1.4; in init() 46 ypos += _lineHeight * 0.4 - (2 + _lineHeight); in init() 50 ypos += _lineHeight + 2; in init() 57 ypos += _lineHeight; in init()
|
H A D | RomListWidget.cxx | 48 _rows = h / _lineHeight; in RomListWidget() 75 _lineHeight = std::max(_lineHeight, CheckboxWidget::boxSize(_font)); in RomListWidget() 76 _rows = h / _lineHeight; in RomListWidget() 87 ypos += _lineHeight; in RomListWidget() 183 return (y - 1) / _lineHeight + _currentPos; in findItem() 454 const int row = (pos.y - getAbsY()) / _lineHeight; in getToolTipIndex() 569 s.fillRect(_x + r.x() - 3, ypos - 1, r.w(), _lineHeight, kTextColorHi); in drawWidget() 573 s.frameRect(_x + r.x() - 3, ypos - 1, r.w(), _lineHeight, kWidColorHi); in drawWidget() 606 s.vLine(_x + r.x() - 7, ypos, ypos + _lineHeight - 1, kColor); in drawWidget() 640 _w - (xoffset - 15), _lineHeight + yoffset); in getLineRect() [all …]
|
H A D | PaddleWidget.cxx | 36 _lineHeight, label); in PaddleWidget() 37 ypos += _lineHeight + fontHeight + 2; in PaddleWidget() 49 xpos = x; ypos += _lineHeight * 2.25; in PaddleWidget() 72 ypos += _lineHeight * 1.33; in PaddleWidget() 76 xpos = x; ypos += _lineHeight * 2.25; in PaddleWidget() 84 ypos += _lineHeight * 1.33; in PaddleWidget()
|
H A D | DrivingWidget.cxx | 36 ypos += _lineHeight * 0.334; in DrivingWidget() 53 ypos = t->getBottom() + _lineHeight * 1.334; in DrivingWidget() 66 xpos = x + myGrayDown->getWidth() * 0.25; ypos = myGrayDown->getBottom() + _lineHeight; in DrivingWidget()
|
/dports/games/scummvm/scummvm-2.5.1/gui/widgets/ |
H A D | popup.cpp | 48 _lineHeight(kLineHeight), in PopUpDialog() 61 _h = _entries.size() * _lineHeight + 2; in open() 83 _h = _entriesPerColumn * _lineHeight + 2; in open() 282 _lineHeight = lineHeight; in setLineHeight() 300 uint entry = (y - 2) / _lineHeight; in findItem() 309 return (y - 2) / _lineHeight; in findItem() 378 y = _y + 1 + _lineHeight * (entry - n); in drawMenuEntry() 381 y = _y + 1 + _lineHeight * entry; in drawMenuEntry() 387 y = _y + 1 + _lineHeight * entry; in drawMenuEntry() 393 Common::Rect r1(x, y, x + w, y + _lineHeight); in drawMenuEntry() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Interface/ |
H A D | Text.cpp | 306 for (std::vector<int>::const_iterator i = _lineHeight.begin(); i != _lineHeight.end(); ++i) in getTextHeight() 314 return _lineHeight[line]; in getTextHeight() 364 _lineHeight.clear(); in processText() 379 _lineHeight.push_back(font->getCharSize(L'\n').h); in processText() 441 _lineHeight.push_back(font->getCharSize(L'\n').h); in processText() 549 for (std::vector<int>::iterator i = _lineHeight.begin(); i != _lineHeight.end(); ++i) in draw()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/gui/ |
H A D | about.cpp | 193 const int firstLine = _scrollPos / _lineHeight; in drawDialog() 194 const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size()); in drawDialog() 195 int y = _y + _yOff - (_scrollPos % _lineHeight); in drawDialog() 248 y += _lineHeight; in drawDialog() 269 } else if ((uint32)_scrollPos > _lines.size() * _lineHeight) { in handleTickle() 305 _lineHeight = g_gui.getFontHeight() + 3; in reflowLayout()
|
/dports/games/residualvm/residualvm-0.3.1/gui/ |
H A D | about.cpp | 193 const int firstLine = _scrollPos / _lineHeight; in drawDialog() 194 const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size()); in drawDialog() 195 int y = _y + _yOff - (_scrollPos % _lineHeight); in drawDialog() 246 y += _lineHeight; in drawDialog() 267 } else if ((uint32)_scrollPos > _lines.size() * _lineHeight) { in handleTickle() 303 _lineHeight = g_gui.getFontHeight() + 3; in reflowLayout()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mutationofjb/ |
H A D | font.cpp | 32 _lineHeight(lineHeight), in Font() 75 if (_lineHeight == -1) { in load() 76 _lineHeight = maxHeight; in load() 83 return _lineHeight; in getFontHeight()
|
/dports/games/scummvm/scummvm-2.5.1/engines/mutationofjb/ |
H A D | font.cpp | 32 _lineHeight(lineHeight), in Font() 75 if (_lineHeight == -1) { in load() 76 _lineHeight = maxHeight; in load() 83 return _lineHeight; in getFontHeight()
|
/dports/games/scummvm/scummvm-2.5.1/engines/nancy/ui/ |
H A D | textbox.cpp | 49 _lineHeight(0), in Textbox() 77 _lineHeight = chunk->readUint16LE(); in init() 143 …uint lineDist = _lineHeight + _lineHeight / 4 + (g_nancy->getGameType() == kGameTypeVampire ? 1 : … in drawTextbox() 225 hotspot.setHeight((wrappedLines.size() - 1) * lineDist + _lineHeight); in drawTextbox() 318 uint lineDist = _lineHeight + _lineHeight / 4; in getInnerHeight()
|
/dports/emulators/sameboy/SameBoy-0.14.7/HexFiend/ |
H A D | HFLineCountingView.m | 65 [coder encodeDouble:_lineHeight forKey:@"HFLineHeight"]; 229 textRect.size.height = _lineHeight; 230 textRect.origin.y -= verticalOffset * _lineHeight; 270 textRect.origin.y += _lineHeight; 283 textRect.size.height = _lineHeight; 310 textRect.origin.y += _lineHeight; 486 [mutableStyle setMinimumLineHeight:_lineHeight]; 487 [mutableStyle setMaximumLineHeight:_lineHeight]; 550 textPoint.y -= verticalOffset * _lineHeight; 643 if (_lineHeight != height) { [all …]
|
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/OpenClaw/Engine/UserInterface/ |
H A D | Console.cpp | 297 _lineHeight = h; in Console() 358 _lineHeight = h; in Console() 463 ScrollUp(_lineHeight); in OnEvent() 467 ScrollUp(3 * _lineHeight); in OnEvent() 472 ScrollDown(_lineHeight); in OnEvent() 476 ScrollDown(3 * _lineHeight); in OnEvent() 500 ScrollUp(_lineHeight); in OnEvent() 504 ScrollDown(_lineHeight); in OnEvent() 623 int16_t promptStartY = _height - _lineHeight + 4; in RenderCurrentCommand() 634 return{ _x, _y, _width, _height - _lineHeight - m_LineSeparatorHeight }; in GetRenderRect() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/cryomni3d/ |
H A D | font_manager.h | 51 void setLineHeight(int h) { _lineHeight = h; } in setLineHeight() 52 int lineHeight() { return _lineHeight; } in lineHeight() 113 int _lineHeight; variable
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sword25/gfx/ |
H A D | fontresource.h | 70 return _lineHeight; in getLineHeight() 103 int _lineHeight; variable
|
H A D | fontresource.cpp | 77 if (!parseIntegerKey(node->values["lineheight"], 1, &_lineHeight)) { in parserCallback_font() 80 _lineHeight = DEFAULT_LINEHEIGHT; in parserCallback_font()
|
/dports/games/scummvm/scummvm-2.5.1/engines/sword25/gfx/ |
H A D | fontresource.h | 70 return _lineHeight; in getLineHeight() 103 int _lineHeight; variable
|
H A D | fontresource.cpp | 77 if (!parseIntegerKey(node->values["lineheight"], 1, &_lineHeight)) { in parserCallback_font() 80 _lineHeight = DEFAULT_LINEHEIGHT; in parserCallback_font()
|
/dports/games/scummvm/scummvm-2.5.1/engines/cryomni3d/ |
H A D | font_manager.h | 52 void setLineHeight(int h) { _lineHeight = h; } in setLineHeight() 53 int lineHeight() { return _lineHeight; } in lineHeight() 107 int _lineHeight; variable
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wintermute/base/font/ |
H A D | base_font_truetype.h | 111 return _lineHeight; in getLineHeight() 132 float _lineHeight; variable
|
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/base/font/ |
H A D | base_font_truetype.h | 111 return _lineHeight; in getLineHeight() 132 float _lineHeight; variable
|
H A D | base_font_truetype.cpp | 63 _lineHeight = 0; in IMPLEMENT_PERSISTENT() 255 while (maxHeight > 0 && lines.size() * _lineHeight > maxHeight) { in renderTextToTexture() 275 …surface->create((uint16)width, (uint16)(_lineHeight * lines.size()), _gameRef->_renderer->getPixel… in renderTextToTexture() 287 heightOffset += (int)_lineHeight; in renderTextToTexture() 625 _lineHeight = _font->getFontHeight(); in initFont() 628 _lineHeight -= 1; in initFont()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/zvision/text/ |
H A D | truetype_font.cpp | 60 _lineHeight = 0; in StyledTTFont() 70 …if (!fontName.empty() && _fontName.equalsIgnoreCase(fontName) && _lineHeight == point && _style ==… in loadFont() 138 _lineHeight = point; in loadFont()
|