Definition at line 429 of file ScrollBar.h. References ChangePos(), mScrollLine, mScrollPage, mScrollRange, and SetNewPos(). Referenced by Impala::Visualization::ImageStrip::KeyboardFunc(), OglGui::ViewStrip::KeyboardFunc(), OglGui::TextArea::KeyboardFunc(), OglGui::StringSelector::KeyboardFunc(), KeyboardFunc(), and Impala::Visualization::ImageSet::KeyboardFunc(). 00430 { 00431 if (state & (oglControl|oglAlt)) 00432 return; 00433 00434 switch(c) 00435 { 00436 case oglLEFT: 00437 case oglUP: 00438 ChangePos(-mScrollLine * ((state&oglShift) ? 5 : 1)); 00439 break; 00440 case oglDOWN: 00441 case oglRIGHT: 00442 ChangePos(mScrollLine * ((state&oglShift) ? 5 : 1)); 00443 break; 00444 case oglPAGEUP: 00445 ChangePos(-mScrollPage); 00446 break; 00447 case oglPAGEDOWN: 00448 ChangePos(mScrollPage); 00449 break; 00450 case oglHOME: 00451 SetNewPos(0); 00452 break; 00453 case oglEND: 00454 SetNewPos(mScrollRange); 00455 break; 00456 } 00457 }
Here is the call graph for this function:
|