projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ec31bc8c4afec4082e40d89cc5a9d1f3829e14ca
[winnie]
/
gfx.h
1
#ifndef GFX_H_
2
#define GFX_H_
3
4
#include "geom.h"
5
6
bool init_gfx();
7
void destroy_gfx();
8
9
unsigned char *get_framebuffer();
10
Rect get_screen_size();
11
int get_color_depth();
12
13
void clear_screen(int r, int g, int b);
14
void fill_rect(const Rect &rect, int r, int g, int b);
15
16
void set_cursor_visibility(bool visible);
17
18
#endif //GFX_H_