blob: 088feb7a6873a4203538f8e19cf3734311e98a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef DISPLAY_H
#define DISPLAY_H
typedef struct dspl_createinfo {
int width;
int height;
char *name;
int fps;
void (*update_func)();
} dspl_createinfo;
void dspl_create(dspl_createinfo info);
void dspl_start();
void dspl_destroy();
void dspl_draw_line(int x1, int y1, int x2, int y2, int c);
void dspl_draw_circle(int cx, int cy, int r);
#endif
|