#ifndef DISPLAY_H #define DISPLAY_H typedef struct dspl_createinfo { int width; int height; char *name; int fps; void (*update_func)(void); } dspl_createinfo; #define OFFSETX (info.width/2) #define OFFSETY (info.height/8) void dspl_create(dspl_createinfo info); void dspl_start(void); void dspl_destroy(void); 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