| 48 | } |
| 49 | |
| 50 | void CUILabel::Update() |
| 51 | { |
| 52 | CUIFrameLineWnd::Update(); |
| 53 | if (m_lanim) |
| 54 | { |
| 55 | if (m_lainm_start_time < 0.0f) |
| 56 | m_lainm_start_time = Device.fTimeGlobal; |
| 57 | int frame; |
| 58 | u32 clr = m_lanim->CalculateRGB(Device.fTimeGlobal - m_lainm_start_time, frame); |
| 59 | SetColor(clr); |
| 60 | SetTextColor(clr); |
| 61 | } |
| 62 | } |
nothing calls this directly
no test coverage detected