Definition at line 247 of file AlertTimeLine.h. References mAlertW, mCurrentTime, mTimeSpan, and OglGui::OglWindow::W(). Referenced by AddAlert(), ComputeX(), DrawTicks(), and PositionAlerts(). 00248 { 00249 float x = W() - ((mCurrentTime - btnTime)/(float)mTimeSpan) * W(); 00250 x -= mAlertW; 00251 return (int) x; 00252 }
Here is the call graph for this function:
|