Definition at line 86 of file StringSelector.h. References mCurrent, mFirstVis, mNrVisible, mScrollBar, and OglGui::ScrollBar::SetNewPos(). Referenced by CurrentStringUpDown(), and SetCurrentString(). 00087 { 00088 bool lastLiner = mCurrent == mFirstVis + mNrVisible; 00089 int visIdx = lastLiner ? mCurrent-mNrVisible+1 : mCurrent; 00090 if ((mCurrent < mFirstVis) || (mCurrent > mFirstVis + mNrVisible-1)) 00091 { 00092 //SetFirstVis(visIdx); 00093 //mScrollBar->MakeVisible(visIdx); 00094 mScrollBar->SetNewPos(visIdx); 00095 } 00096 }
Here is the call graph for this function:
|