Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void OglGui::ScrollBar::ButtonSelectionEvent ( Button src,
void *  vdata 
) [inline, virtual]

Reimplemented from OglGui::ButtonListener.

Definition at line 406 of file ScrollBar.h.

References mScrollLine, mScrollPos, and SetNewPos().

00407     {
00408         int data = (long long) vdata;
00409         switch (data)
00410         {
00411         case 1: // decrement
00412             SetNewPos(mScrollPos-mScrollLine);
00413             break;
00414         case 3: // increment
00415             SetNewPos(mScrollPos+mScrollLine);
00416             break;
00417         }
00418     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:46 2011 for ImpalaSrc by  doxygen 1.5.1