#ifndef GRAPHICS_H
#define GRAPHICS_H 1

void init_sdl(void);
void init_graphics(int xsize, int ysize);
void wp(int x, int y, Uint32 pixel);
Uint32 gp(SDL_Surface *surface, int x, int y);
void line(int startx, int starty, int endx, int endy, Uint32 color);
void circle(int x_center, int y_center, int radius, Uint32 c);
void start_frame(void);
void paint_button(SDL_Surface *f, const char *s, int size, int x, int y);
int in_button(int x, int y, int w, int h);

enum {
    COL_BLACK = 0,
    COL_WHITE = 215
};

#endif

