| 132 | } |
| 133 | |
| 134 | void ui_DrawBox(ddgr_color color, int l, int t, int r, int b) { |
| 135 | if (color == TRANSPARENT_COLOR32) |
| 136 | return; |
| 137 | rend_SetFlatColor(color); |
| 138 | rend_DrawLine(l, t, r - 1, t); |
| 139 | rend_DrawLine(r - 1, t, r - 1, b - 1); |
| 140 | rend_DrawLine(l, b - 1, r - 1, b - 1); |
| 141 | rend_DrawLine(l, t, l, b - 1); |
| 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) { |