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

virtual void Impala::Application::SDash::CameraEventListPane::AlertSelectionEvent ( AlertTimeLine src,
int  btnId,
int  btnData,
void *  userData 
) [inline, virtual]

Definition at line 92 of file CameraEventListPane.h.

References OglGui::RadioGroup::ButtonSelectionEvent(), EventList(), OglGui::RadioGroup::GetButton(), Impala::Application::SDash::CameraEventList::SelectCameraEvent(), Impala::Application::SDash::CameraEventList::ShowCameraWithId(), and WhichCameraRadioGroup().

00093     {
00094         CameraEvent* cameraEvent = (CameraEvent*) btnData;
00095         int camId = btnId;
00096         EventList()->ShowCameraWithId(camId);
00097         Button* btn;
00098         // Quick dirty hack to ensure jumping to top even when already
00099         // in same camera group
00100         if (WhichCameraRadioGroup()->GetActiveRadio() == camId-1)
00101         {
00102             btn = WhichCameraRadioGroup()->GetButton(camId);
00103             WhichCameraRadioGroup()->ButtonSelectionEvent(btn,(void*)camId);
00104         }
00105         btn = WhichCameraRadioGroup()->GetButton(camId-1);
00106         WhichCameraRadioGroup()->ButtonSelectionEvent(btn, (void*)(camId - 1));
00107         EventList()->SelectCameraEvent(cameraEvent);
00108     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:49:01 2010 for ImpalaSrc by  doxygen 1.5.1