Home
last modified time | relevance | path

Searched refs:iMaxScroll (Results 1 – 2 of 2) sorted by relevance

/dports/games/openclonk/openclonk-release-8.1-src/src/gui/
H A DC4GuiContainers.cpp548 int32_t iMaxScroll = iClientHgt - iVisHgt; in ScrollToBottom() local
549 if (iScrollY < iMaxScroll) in ScrollToBottom()
552 iScrollY = iMaxScroll; in ScrollToBottom()
568 int32_t iMaxScroll = iClientHgt - iVisHgt; in ScrollBy() local
569 int iNewScrollY = Clamp<int>(iScrollY + iAmount, 0, iMaxScroll); in ScrollBy()
H A DC4GuiLabels.cpp155 …int32_t iMaxScroll = std::max<int32_t>(pFont->GetTextWidth(sText.getData(), true) + (x0 - rcBounds… in DrawElement() local
156 if (iMaxScroll) in DrawElement()
159 if (iScrollPos >= iMaxScroll || iScrollPos < 0) in DrawElement()