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

virtual void OglGui::AlertTimeLine::DisplayFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 174 of file AlertTimeLine.h.

References OglGui::Window::DisplayFunc(), DrawCurrentTime(), DrawTicks(), OglGui::OglWindow::H(), mAlertW, mCurrentTime, mLineY, mNrAlerts, mNrOlderAlerts, OglGui::OglWindow::mOglWnd, mOlderThanBtn, mOlderThanStr, mStartTime, mStartTimeOffset, PositionAlerts(), OglGui::Window::SetState(), OglGui::StaticText::SetText(), and OglGui::OglWindow::W().

00175     {
00176         mCurrentTime = mStartTime + mStartTimeOffset + oglWndSecondsSinceStart;
00177 
00178         OGC oldOGC;
00179         OGCSave(&oldOGC);
00180 
00181         int h = H(), w = W();
00182         SetSolidLineColor(oglBLACK);
00183         DrawLine(0, mLineY, w-mAlertW, mLineY);
00184         SetSolidLineColor(oglWHITE);
00185         DrawLine(0, mLineY-1, w-mAlertW, mLineY-1);
00186 
00187         DrawTicks();
00188         DrawCurrentTime();
00189         PositionAlerts();
00190 
00191         oglSys.PosColPrintf(mOglWnd, w/2, 0, oglBLACK, "total: %d", mNrAlerts);
00192 
00193         char buf[100];
00194         sprintf(buf, "%d %s", mNrOlderAlerts, mOlderThanStr.c_str());
00195         mOlderThanBtn->SetText(buf);
00196         mOlderThanBtn->SetState(mNrOlderAlerts==0 ? 0 : 1);
00197 
00198         oglSys.UpdateSceneFlag(mOglWnd, 1);
00199         OGCRestore(&oldOGC);
00200         Window::DisplayFunc();
00201     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:57:30 2010 for ImpalaSrc by  doxygen 1.5.1