Lines Matching refs:nNewFirstVisIndex
658 size_t nNewFirstVisIndex = mnFirstVisIndex; in RecalcVisibleIndex() local
659 if( nSelectIndex < nNewFirstVisIndex ) in RecalcVisibleIndex()
660 nNewFirstVisIndex = static_cast< size_t >( (nSelectIndex / mnLineSize) * mnLineSize ); in RecalcVisibleIndex()
661 else if( nSelectIndex >= nNewFirstVisIndex + mnPageSize ) in RecalcVisibleIndex()
662 …nNewFirstVisIndex = static_cast< size_t >( (nSelectIndex / mnLineSize + 1) * mnLineSize ) - mnPage… in RecalcVisibleIndex()
665 return ::std::min( nNewFirstVisIndex, nMaxFirstVisIndex ); in RecalcVisibleIndex()
890 size_t nNewFirstVisIndex = static_cast< size_t >( nThumbPos * mnLineSize ); in IMPL_LINK() local
894 if( nNewSelectIndex < nNewFirstVisIndex ) in IMPL_LINK()
895 nNewSelectIndex = nNewFirstVisIndex + nSelectLineOffset; in IMPL_LINK()
896 else if( nNewSelectIndex >= nNewFirstVisIndex + mnPageSize ) in IMPL_LINK()
897 nNewSelectIndex = nNewFirstVisIndex + mnPageSize - mnLineSize + nSelectLineOffset; in IMPL_LINK()
899 SetSelectionUnchecked( nNewSelectIndex, nNewFirstVisIndex ); in IMPL_LINK()