11 lines
183 B
C
11 lines
183 B
C
|
#include "draw.h"
|
||
|
#include <gint/display.h>
|
||
|
|
||
|
void
|
||
|
draw_rectangle(int c, int x, int y, int w, int h)
|
||
|
{
|
||
|
const int x2 = x + w - 1;
|
||
|
const int y2 = y + h - 1;
|
||
|
drect(x, y, x2, y2, c);
|
||
|
}
|