* Draw a wired rectangle. * @param left The left position of the rectangle. * @param top The top position of the rectangle. * @param right The right position of the rectangle. * @param bottom The bottom position of the rectangle. * @param colour The colour of the rectangle. */
| 177 | * @param colour The colour of the rectangle. |
| 178 | */ |
| 179 | void GUI_DrawWiredRectangle(uint16 left, uint16 top, uint16 right, uint16 bottom, uint8 colour) |
| 180 | { |
| 181 | GUI_DrawLine(left, top, right, top, colour); |
| 182 | GUI_DrawLine(left, bottom, right, bottom, colour); |
| 183 | GUI_DrawLine(left, top, left, bottom, colour); |
| 184 | GUI_DrawLine(right, top, right, bottom, colour); |
| 185 | |
| 186 | GFX_Screen_SetDirty(SCREEN_ACTIVE, left, top, right+1, bottom+1); |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Draw a filled rectangle. |
no test coverage detected