| 142 | } |
| 143 | |
| 144 | void ui_DrawLTBox(ddgr_color lt_col, ddgr_color rb_col, int l, int t, int r, int b) { |
| 145 | if (lt_col != TRANSPARENT_COLOR32) { |
| 146 | rend_SetFlatColor(lt_col); |
| 147 | rend_DrawLine(l, t, r - 1, t); |
| 148 | rend_DrawLine(l, t, l, b - 1); |
| 149 | } |
| 150 | if (rb_col != TRANSPARENT_COLOR32) { |
| 151 | rend_SetFlatColor(rb_col); |
| 152 | rend_DrawLine(l, b - 1, r - 1, b - 1); |
| 153 | rend_DrawLine(r - 1, t + 1, r - 1, b - 1); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | void ui_DrawRect(ddgr_color color, int l, int t, int r, int b) { |
| 158 | if (color == TRANSPARENT_COLOR32) |
no test coverage detected