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:
|