| 157 | } |
| 158 | |
| 159 | void CUIStatic::DrawText() |
| 160 | { |
| 161 | if (m_pLines) |
| 162 | { |
| 163 | m_pLines->SetWndSize(m_wndSize); |
| 164 | |
| 165 | if (IsHighlightText() && xr_strlen(m_pLines->GetText()) > 0 && m_bEnableTextHighlighting) |
| 166 | DrawHighlightedText(); |
| 167 | else |
| 168 | { |
| 169 | Fvector2 p; |
| 170 | GetAbsolutePos(p); |
| 171 | m_pLines->Draw(p.x + m_TextOffset.x, p.y + m_TextOffset.y); |
| 172 | } |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | void CUIStatic::DrawTexture() |
| 177 | { |
nothing calls this directly
no test coverage detected