Home || Visual Search || Applications || Architecture || 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 Thu Jan 13 09:16:14 2011 for ImpalaSrc by  doxygen 1.5.1