Reimplemented from Impala::Visualization::ImagesWindow. Definition at line 353 of file ImageSet.h. References mExtraLines, mFirstVisY, mLines, mNrVisibleX, mNrVisibleY, SetFirstVisY(), UpdateScrollBarRange(), and Impala::Visualization::ImagesWindow::UpdateViewWithImage(). 00354 { 00355 int dispPos = idx - mFirstVisY * mNrVisibleX; 00356 if (idx >= mLines*mNrVisibleX) 00357 { 00358 mLines++; 00359 UpdateScrollBarRange(); 00360 } 00361 if (dispPos < mNrVisibleX * mNrVisibleY) 00362 { 00363 UpdateViewWithImage(dispPos, idx); 00364 return; 00365 } 00366 if (intelliScroll && 00367 (mFirstVisY * mNrVisibleX == 00368 idx - mNrVisibleX * (mNrVisibleY - mExtraLines))) 00369 { 00370 SetFirstVisY(mFirstVisY + 1); 00371 } 00372 }
Here is the call graph for this function:
|