Home
last modified time | relevance | path

Searched refs:fNewPos (Results 1 – 7 of 7) sorted by relevance

/dports/x11-wm/icewm/icewm-2.9.4/src/
H A Dyscrollbar.cc545 int fNewPos = fValue; in scroll() local
550 fNewPos += delta; in scroll()
554 if (fNewPos < fMinimum) in scroll()
555 fNewPos = fMinimum; in scroll()
556 if (fNewPos != fValue) { in scroll()
558 fValue = fNewPos; in scroll()
565 int fNewPos = pos; in move() local
569 if (fNewPos < fMinimum) in move()
570 fNewPos = fMinimum; in move()
571 if (fValue != fNewPos) { in move()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/pwl/
H A Dcpwl_scroll_bar.cpp730 float fNewPos = 0; in OnPosButtonMouseMove() local
749 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
750 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
753 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
754 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
757 m_sData.SetPos(fNewPos); in OnPosButtonMouseMove()
762 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
763 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
766 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
767 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/pwl/
H A Dcpwl_scroll_bar.cpp731 float fNewPos = 0; in OnPosButtonMouseMove() local
750 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
751 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
754 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
755 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
758 m_sData.SetPos(fNewPos); in OnPosButtonMouseMove()
763 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
764 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
767 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
768 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/pdfwindow/
H A DPWL_ScrollBar.cpp1002 FX_FLOAT fNewPos = 0; in OnPosButtonMouseMove() local
1021 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
1022 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
1025 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
1026 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
1029 m_sData.SetPos(fNewPos); in OnPosButtonMouseMove()
1034 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
1035 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
1038 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
1039 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/fpdfsdk/pdfwindow/
H A DPWL_ScrollBar.cpp1026 FX_FLOAT fNewPos = 0; in OnPosButtonMouseMove() local
1045 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
1046 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
1049 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
1050 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
1053 m_sData.SetPos(fNewPos); in OnPosButtonMouseMove()
1058 if (IsFloatSmaller(fNewPos, m_sData.ScrollRange.fMin)) { in OnPosButtonMouseMove()
1059 fNewPos = m_sData.ScrollRange.fMin; in OnPosButtonMouseMove()
1062 if (IsFloatBigger(fNewPos, m_sData.ScrollRange.fMax)) { in OnPosButtonMouseMove()
1063 fNewPos = m_sData.ScrollRange.fMax; in OnPosButtonMouseMove()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/oox/
H A Dworksheethelper.cxx900 …double fNewPos = static_cast<double>(nRow - rUsedArea.aStart.Row() + 1.0) / (rUsedArea.aEnd.Row() … in UpdateRowProgress() local
903 mxRowProgress->setPosition(fNewPos); in UpdateRowProgress()
907 if (fCurPos < fNewPos && (fNewPos - fCurPos) > 0.3) in UpdateRowProgress()
909 mxRowProgress->setPosition(fNewPos); in UpdateRowProgress()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/oox/
H A Dworksheethelper.cxx905 …double fNewPos = static_cast<double>(nRow - rUsedArea.aStart.Row() + 1.0) / (rUsedArea.aEnd.Row() … in UpdateRowProgress() local
908 mxRowProgress->setPosition(fNewPos); in UpdateRowProgress()
912 if (fCurPos < fNewPos && (fNewPos - fCurPos) > 0.3) in UpdateRowProgress()
914 mxRowProgress->setPosition(fNewPos); in UpdateRowProgress()