| 100 | // DRAWING PRIMATIVE FUNCTIONS |
| 101 | |
| 102 | void ui_StartDraw(int left, int top, int right, int bottom) { |
| 103 | m_UIDrawLeft = left; |
| 104 | m_UIDrawTop = top; |
| 105 | m_UIDrawRight = right; |
| 106 | m_UIDrawBottom = bottom; |
| 107 | m_UIDrawAlpha = m_UICharAlpha = 255; |
| 108 | |
| 109 | rend_StartFrame(m_UIDrawLeft, m_UIDrawTop, m_UIDrawRight, m_UIDrawBottom); |
| 110 | grtext_SetParameters(0, 0, right - left + 1, bottom - top + 1); |
| 111 | } |
| 112 | |
| 113 | void ui_EndDraw() { |
| 114 | grtext_Flush(); |
no test coverage detected