Definition at line 43 of file TextArea.h. References mFirstVisible, mNrLines, and mStrings. Referenced by OnScroll(). 00044 { 00045 int sz = mStrings.size(); 00046 if (nr > sz - mNrLines) 00047 nr = sz - mNrLines; 00048 if (nr < 0) 00049 nr = 0; 00050 if (nr == mFirstVisible) 00051 return; 00052 mFirstVisible = nr; 00053 }
|