experiment #1: writing some pixels in the framebuffer device and cls
[winnie] / src / gfx.h
1 #ifndef GFX_H_
2 #define GFX_H_
3
4 struct Rect {
5         int x;
6         int y;
7         int width;
8         int height;
9 };
10
11 bool init_gfx();
12 void destroy_gfx();
13
14 unsigned char* get_framebuffer();
15 Rect get_screen_size();
16 int get_color_depth();
17
18 void clear_screen(int r, int g, int b);
19
20 void set_cursor_visibility(bool visible);
21
22 #endif //GFX_H_