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

int Impala::Application::SDash::TimeSlider::ComputeX ( long  secs  )  [inline]

Definition at line 79 of file TimeSlider.h.

References mMargin, mStartTime, mTimeSpan, and OglGui::OglWindow::W().

Referenced by DrawCurrentTime(), and DrawTicks().

00080     {
00081         float   lW = W()-2*mMargin;
00082         float   x = mMargin + ((secs-mStartTime)/(float)mTimeSpan) * lW;
00083         return (int) x;
00084     }

Here is the call graph for this function:


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