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

void Impala::Application::SDash::TimeSlider::DrawCurrentTime (  )  [inline, protected]

Definition at line 148 of file TimeSlider.h.

References ComputeX(), GetTimeUnits(), mCurrentTime, mLineY, OglGui::OglWindow::mOglWnd, and OglGui::OglWindow::W().

Referenced by DisplayFunc().

00149     {
00150         int h, m, s;
00151 
00152         int x = ComputeX(mCurrentTime);
00153         SetSolidLineColor(oglBLACK);
00154         DrawLine(x-1,mLineY+5,x-1,mLineY-5);
00155         DrawLine(x+1,mLineY+5,x+1,mLineY-5);
00156         SetSolidLineColor(oglWHITE);
00157         DrawLine(x,mLineY+5,x,mLineY-5);
00158         GetTimeUnits(mCurrentTime, h, m, s);
00159         oglSys.ShadowPrintf(mOglWnd,W()/2-25,mLineY+3,oglBLACK,oglWHITE,
00160                             "%02d:%02d:%02d",h,m,s);
00161     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:50:20 2010 for ImpalaSrc by  doxygen 1.5.1