Definition at line 521 of file SurveillanceApp.cpp.
References OglGui::B2T, OglGui::OglWindow::ConnectTo(), OglGui::L2L, mFramesPerSecond, mTimeLine, OglGui::AlertTimeLine::OlderThanButton(), OglGui::R2L, OglGui::OglWindow::ScaleTo(), SetAsBox(), OglGui::Button::SetButtonListener(), OglGui::AlertTimeLine::SetOlderThanText(), OglGui::AlertTimeLine::SetTime(), OglGui::AlertTimeLine::SetTimeSpan(), OglGui::T2T, and Impala::Application::SDash::VIRTUAL_TIME_OFFSET.
Referenced by BuildGUI().
00522 {
00523 GroupBox* timeLinePane = new GroupBox(wnd,x,y,w,h,"Timeline" );
00524 SetAsBox(timeLinePane);
00525 timeLinePane->ScaleTo(wnd);
00526 mFramesPerSecond = new FramesPerSecond(timeLinePane,4,h-50,70,24);
00527 mFramesPerSecond->ConnectTo(timeLinePane,L2L|B2T|R2L|T2T);
00528
00529 mTimeLine = new AlertTimeLine(timeLinePane,20,4,w-40,h-8);
00530
00531 mTimeLine->SetTime(14*3600 + 14*60 + 40, VIRTUAL_TIME_OFFSET);
00532 mTimeLine->SetTimeSpan(900);
00533 mTimeLine->SetOlderThanText("older than 15 min");
00534 mTimeLine->OlderThanButton()->SetButtonListener(this);
00535 mTimeLine->ScaleTo(wnd);
00536 }
Here is the call graph for this function: