/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/generic/ |
H A D | markuptext.cpp | 50 wxMarkupParserMeasureOutput(wxDC& dc, int *visibleHeight) in wxMarkupParserMeasureOutput() argument 53 m_visibleHeight(visibleHeight) in wxMarkupParserMeasureOutput() 55 if ( visibleHeight ) in wxMarkupParserMeasureOutput() 56 *visibleHeight = 0; in wxMarkupParserMeasureOutput() 76 int visibleHeight = tm.ascent - tm.internalLeading; in OnText() local 77 if ( *m_visibleHeight < visibleHeight ) in OnText() 78 *m_visibleHeight = visibleHeight; in OnText() 226 wxSize wxMarkupText::Measure(wxDC& dc, int *visibleHeight) const in Measure() 228 wxMarkupParserMeasureOutput out(dc, visibleHeight); in Measure() 244 int visibleHeight; in Render() local [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/generic/ |
H A D | markuptext.cpp | 50 wxMarkupParserMeasureOutput(wxDC& dc, int *visibleHeight) in wxMarkupParserMeasureOutput() argument 53 m_visibleHeight(visibleHeight) in wxMarkupParserMeasureOutput() 55 if ( visibleHeight ) in wxMarkupParserMeasureOutput() 56 *visibleHeight = 0; in wxMarkupParserMeasureOutput() 76 int visibleHeight = tm.ascent - tm.internalLeading; in OnText() local 77 if ( *m_visibleHeight < visibleHeight ) in OnText() 78 *m_visibleHeight = visibleHeight; in OnText() 226 wxSize wxMarkupText::Measure(wxDC& dc, int *visibleHeight) const in Measure() 228 wxMarkupParserMeasureOutput out(dc, visibleHeight); in Measure() 244 int visibleHeight; in Render() local [all …]
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/generic/ |
H A D | markuptext.cpp | 54 wxMarkupParserMeasureOutput(wxDC& dc, int *visibleHeight) in wxMarkupParserMeasureOutput() argument 57 m_visibleHeight(visibleHeight) in wxMarkupParserMeasureOutput() 59 if ( visibleHeight ) in wxMarkupParserMeasureOutput() 60 *visibleHeight = 0; in wxMarkupParserMeasureOutput() 78 int visibleHeight = tm.ascent - tm.internalLeading; in OnText() local 79 if ( *m_visibleHeight < visibleHeight ) in OnText() 80 *m_visibleHeight = visibleHeight; in OnText() 311 wxSize wxMarkupTextBase::Measure(wxDC& dc, int *visibleHeight) const in Measure() 313 wxMarkupParserMeasureOutput out(dc, visibleHeight); in Measure() 334 int visibleHeight; in Render() local [all …]
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/tracker/ |
H A D | AnimatedFXControl.cpp | 99 vscreen = new pp_uint8[visibleWidth*visibleHeight*3]; in createFX() 101 fx = new Starfield(visibleWidth, visibleHeight); in createFX() 105 fx = new Fire(visibleWidth, visibleHeight); in createFX() 107 fx = new TwisterFX(visibleWidth, visibleHeight); in createFX() 109 fx = new TwisterFX(visibleWidth, visibleHeight); in createFX() 132 visibleHeight = size.height - 2; in AnimatedFXControl() 201 s.height = visibleHeight-2; in paint() 203 for (pp_int32 i = 0; i < visibleHeight-2; i++) in paint() 236 g->drawString(textBuffer, location.x + (xPos>>8) + 1, location.y + visibleHeight - 10 + 1); in paint() 238 g->drawString(textBuffer, location.x + (xPos>>8), location.y + visibleHeight - 10); in paint()
|
H A D | EnvelopeEditorControl.cpp | 76 visibleHeight = size.height - SCROLLBARWIDTH - 5; in EnvelopeEditorControl() 133 return 1.0f / ((float)yMax / (float)visibleHeight); in calcYScale() 290 y1 = location.y + yOffset + visibleHeight - y1; in paint() 363 y1 = location.y + yOffset + visibleHeight - y1; in paint() 364 y2 = location.y + yOffset + visibleHeight - y2; in paint() 392 y1 = location.y + yOffset + visibleHeight - y1; in paint() 398 for (pp_int32 j = 0; j < visibleHeight; j+=2) in paint() 435 for (pp_int32 j = 0; j < visibleHeight; j+=2) in paint() 469 y1 = location.y + yOffset + visibleHeight - y1; in paint() 557 if (cp.y > visibleHeight) in dispatchEvent() [all …]
|
H A D | SampleEditorControl.cpp | 379 rect.y1+=visibleHeight/2; in paint() 380 rect.y2+=visibleHeight/2; in paint() 413 yOffset+=location.y + (visibleHeight>>1); in paint() 419 1.0f/(128.0f / ((visibleHeight-4)/2)); in paint() 475 g->drawVLine(yOffset - (visibleHeight>>1), yOffset + (visibleHeight>>1)-2, xOffset+x); in paint() 490 g->drawVLine(yOffset - (visibleHeight>>1), yOffset + (visibleHeight>>1)-2, xOffset+x); in paint() 500 g->drawVLine(yOffset - (visibleHeight>>1), yOffset + (visibleHeight>>1)-2, xOffset+x2); in paint() 1271 if (cp.y >= visibleHeight) in positionToSample() 1272 cp.y = visibleHeight - 1; in positionToSample() 1301 if (y >= visibleHeight) in drawSample() [all …]
|
H A D | PeakLevelControl.cpp | 52 visibleHeight = size.height - 2; in PeakLevelControl() 97 g->drawVLine(location.y + yOffset, location.y + yOffset + visibleHeight, centerx - i); in paint() 105 g->drawVLine(location.y + yOffset, location.y + yOffset + visibleHeight, centerx + i); in paint()
|
H A D | PatternEditorControlEventListener.cpp | 275 pp_int32 visibleRows = (visibleHeight) / font->getCharHeight(); in dispatchEvent() 358 pp_int32 visibleRows = (visibleHeight) / font->getCharHeight(); in dispatchEvent() 383 if (newStartPos < visibleHeight && newStartPos >= 0) in dispatchEvent() 626 if (startIndex + (visibleHeight / font->getCharHeight()) < pattern->rows) in dispatchEvent() 665 pp_int32 visibleRows = (visibleHeight) / font->getCharHeight(); in dispatchEvent() 904 pp_int32 visibleItems = (visibleHeight) / font->getCharHeight(); in handleEvent() 934 pp_int32 visibleItems = (visibleHeight) / font->getCharHeight(); in handleEvent() 962 pp_int32 visibleItems = (visibleHeight) / font->getCharHeight(); in handleEvent() 1079 pp_int32 visibleItems = (visibleHeight) / font->getCharHeight(); in handleEvent()
|
/dports/textproc/easydiff/EasyDiff-0.4.0/ |
H A D | DiffView.m | 238 float visibleHeight; 241 visibleHeight = MIN(NSHeight([leftView documentVisibleRect]), 269 infLimit = visibleHeight / 2.0; 271 visibleHeight / 2.0; 273 visibleHeight / 2.0; 275 visibleHeight / 2.0; 298 float visibleHeight; 310 visibleHeight = MIN(NSHeight([leftView documentVisibleRect]), 336 (mergeFileHeight - visibleHeight) + visibleHeight / 2.; 357 leftPosition - visibleHeight / 2.)]; [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/ |
H A D | PaintSurface.java | 44 private int visibleWidth, visibleHeight; field in PaintSurface 388 visibleWidth, visibleHeight, false); in scrollHorizontally() 400 if (imageHeight > visibleHeight) { in scrollVertically() 402 final int newOffset = Math.min(scrollBar.getSelection(), imageHeight - visibleHeight); in scrollVertically() 407 visibleWidth, visibleHeight, false); in scrollVertically() 420 visibleHeight = visibleRect.height; in handleResize() 437 displayFDC.yOffset = Math.min(vertical.getSelection(), imageHeight - visibleHeight); in handleResize() 438 if (imageHeight <= visibleHeight) { in handleResize() 443 vertical.setValues(displayFDC.yOffset, 0, imageHeight, visibleHeight, in handleResize() 444 8, visibleHeight); in handleResize() [all …]
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/ |
H A D | ScrollHandler.cpp | 89 auto ScrollHandler::isPageVisible(size_t page, int* visibleHeight) -> bool { in isPageVisible() argument 91 if (visibleHeight) { in isPageVisible() 92 *visibleHeight = 0; in isPageVisible() 97 return this->control->getWindow()->getXournal()->isPageVisible(page, visibleHeight); in isPageVisible()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/inspector/ |
H A D | InspectorFrontendClientLocal.cpp | 113 …inspectedPageHeight = m_inspectorController->inspectedPage()->mainFrame()->view()->visibleHeight(); in canAttachWindow() 121 …endPage->mainFrame()->view()->visibleHeight() + m_inspectorController->inspectedPage()->mainFrame(… in changeAttachedWindowHeight() 148 …inspectedPageHeight = m_inspectorController->inspectedPage()->mainFrame()->view()->visibleHeight(); in restoreAttachedWindowHeight()
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/Dialog/ |
H A D | PSPMsgDialog.cpp | 200 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 201 float h2 = visibleHeight / 2.0f; in DisplayMessage() 248 if (visibleHeight < totalHeight) { in DisplayMessage() 250 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 252 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 253 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
H A D | PSPNetconfDialog.cpp | 151 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 152 float h2 = visibleHeight / 2.0f; in DisplayMessage() 217 if (visibleHeight < totalHeight) { in DisplayMessage() 219 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 221 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 222 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/Dialog/ |
H A D | PSPMsgDialog.cpp | 200 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 201 float h2 = visibleHeight / 2.0f; in DisplayMessage() 248 if (visibleHeight < totalHeight) { in DisplayMessage() 250 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 252 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 253 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
H A D | PSPNetconfDialog.cpp | 151 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 152 float h2 = visibleHeight / 2.0f; in DisplayMessage() 217 if (visibleHeight < totalHeight) { in DisplayMessage() 219 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 221 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 222 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/Dialog/ |
H A D | PSPMsgDialog.cpp | 200 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 201 float h2 = visibleHeight / 2.0f; in DisplayMessage() 248 if (visibleHeight < totalHeight) { in DisplayMessage() 250 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 252 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 253 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
H A D | PSPNetconfDialog.cpp | 151 float visibleHeight = std::min(totalHeight, 175.0f); in DisplayMessage() local 152 float h2 = visibleHeight / 2.0f; in DisplayMessage() 217 if (visibleHeight < totalHeight) { in DisplayMessage() 219 float scrollMax = totalHeight - visibleHeight; in DisplayMessage() 221 float bobHeight = (visibleHeight / totalHeight) * visibleHeight; in DisplayMessage() 222 float bobOffset = (scrollPos_ / scrollMax) * (visibleHeight - bobHeight); in DisplayMessage()
|
/dports/misc/perkeep/perkeep-0.11/app/publisher/js/ |
H A D | members.go | 126 visibleHeight int // window height at last render member 275 visibleHeight := jQuery(js.Global).Height() 278 nbVisibleRows := visibleHeight/blobItemHeight + 1 280 if visibleHeight != bic.visibleHeight || visibleWidth != bic.visibleWidth { 287 bic.visibleHeight, bic.visibleWidth = visibleHeight, visibleWidth
|
/dports/editors/calligra/calligra-3.2.1/sheets/ |
H A D | PageManager.cpp | 76 height += sheet->rowFormats()->visibleHeight(row); in layoutPages() 81 … else if (height + sheet->rowFormats()->visibleHeight(row + 1) <= size(pageNumber).height()) in layoutPages() 155 height += sheet->rowFormats()->visibleHeight(row); in layoutPages() 158 … if (height + sheet->rowFormats()->visibleHeight(row + 1) <= size(pageNumber).height()) in layoutPages()
|
/dports/biology/jalview/jalview/src/jalview/viewmodel/ |
H A D | ViewportRanges.java | 253 int visibleHeight = getVisibleAlignmentHeight(); in updateStartEndSeq() local 254 if (start > visibleHeight - 1) in updateStartEndSeq() 256 startSeq = Math.max(visibleHeight - 1, 0); in updateStartEndSeq() 268 if (end >= visibleHeight) in updateStartEndSeq() 270 endSeq = Math.max(visibleHeight - 1, 0); in updateStartEndSeq()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libshell/src/ |
H A D | logwidget.cpp | 109 int maxVisibleOffset(int visibleHeight) in DENG2_PIMPL() 112 return de::max(0, totalHeight() - visibleHeight); in DENG2_PIMPL() 115 void clampVisibleOffset(int visibleHeight) in DENG2_PIMPL() 117 setVisibleOffset(de::min(visibleOffset, maxVisibleOffset(visibleHeight))); in DENG2_PIMPL()
|
/dports/cad/ktechlab/ktechlab-0.50.0/src/ktlqt3support/ |
H A D | ktlq3scrollview.cpp | 2001 int ph=visibleHeight(); in ensureVisible() 2101 int ph=visibleHeight(); in center() 2127 if (-y+visibleHeight() > contentsHeight()) in moveContents() 2237 if (oh < visibleHeight() && h >= 0) { in resizeContents() 2240 if (h > visibleHeight()) in resizeContents() 2241 h = visibleHeight(); in resizeContents() 2280 if (h > visibleHeight()) in updateContents() 2281 h = visibleHeight(); in updateContents() 2366 if (h > visibleHeight()) in repaintContents() 2367 h = visibleHeight(); in repaintContents() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/qt3support/widgets/ |
H A D | q3scrollview.cpp | 1951 int ph=visibleHeight(); in ensureVisible() 2051 int ph=visibleHeight(); in center() 2077 if (-y+visibleHeight() > contentsHeight()) in moveContents() 2186 if (oh < visibleHeight() && h >= 0) { in resizeContents() 2189 if (h > visibleHeight()) in resizeContents() 2190 h = visibleHeight(); in resizeContents() 2229 if (h > visibleHeight()) in updateContents() 2230 h = visibleHeight(); in updateContents() 2315 if (h > visibleHeight()) in repaintContents() 2316 h = visibleHeight(); in repaintContents() [all …]
|
/dports/accessibility/kmag/kmag-21.12.3/src/ |
H A D | kmagzoomview.cpp | 170 int KMagZoomView::visibleHeight() const in visibleHeight() function in KMagZoomView 298 verticalScrollBar()->setRange(0, contentsHeight() - visibleHeight()); in resizeEvent() 326 if (contentsY()+contentsHeight() < visibleHeight()) in paintEvent() 328 … QRect (clipx, contentsY()+contentsHeight(), clipw, visibleHeight()-contentsY()-contentsHeight()) in paintEvent() 332 p.translate(visibleWidth() / 2.0, visibleHeight() / 2.0); in paintEvent() 812 else if (contentsY() < contentsHeight()-visibleHeight()) in keyPressEvent() 815 if (contentsY()+offset < contentsHeight()-visibleHeight()) in keyPressEvent() 818 setContentsPos (contentsX(), contentsHeight()-visibleHeight()); in keyPressEvent() 864 newWidth = static_cast<unsigned int>((visibleHeight() + m_zoom - 1) / m_zoom); in fitToWindow() 868 newHeight = static_cast<unsigned int>((visibleHeight() + m_zoom - 1) / m_zoom); in fitToWindow()
|