Searched refs:iMaxScroll (Results 1 – 2 of 2) sorted by relevance
548 int32_t iMaxScroll = iClientHgt - iVisHgt; in ScrollToBottom() local549 if (iScrollY < iMaxScroll) in ScrollToBottom()552 iScrollY = iMaxScroll; in ScrollToBottom()568 int32_t iMaxScroll = iClientHgt - iVisHgt; in ScrollBy() local569 int iNewScrollY = Clamp<int>(iScrollY + iAmount, 0, iMaxScroll); in ScrollBy()
155 …int32_t iMaxScroll = std::max<int32_t>(pFont->GetTextWidth(sText.getData(), true) + (x0 - rcBounds… in DrawElement() local156 if (iMaxScroll) in DrawElement()159 if (iScrollPos >= iMaxScroll || iScrollPos < 0) in DrawElement()