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

virtual void Impala::Visualization::ThreadSetGui::ButtonSelectionEvent ( OglGui::Button src,
void *  vData 
) [inline, virtual]

Reimplemented from OglGui::ButtonListener.

Definition at line 72 of file ThreadSetGui.h.

References BUT_NEXT, BUT_PREV, Impala::Core::VideoSet::SegmentationDocument::CurShot(), Impala::Core::Trec::Thread::GetShotPosition(), mCurThread, mSegDoc, and ThreadStep().

00073     {
00074         int curPos = mCurThread->GetShotPosition(mSegDoc->CurShot());
00075         if (curPos == -1)
00076             return;
00077         int listenerData = (int)(long long) vData;
00078         switch (listenerData)
00079         {
00080         case BUT_PREV:
00081             ThreadStep(curPos - 1);
00082             break;
00083         case BUT_NEXT:
00084             ThreadStep(curPos + 1);
00085             break;
00086         } // end switch
00087     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:19 2011 for ImpalaSrc by  doxygen 1.5.1