10 unsigned char *get_framebuffer();
11 Pixmap *get_framebuffer_pixmap();
13 Rect get_screen_size();
14 int get_color_depth();
16 void clear_screen(int r, int g, int b);
17 void fill_rect(const Rect &rect, int r, int g, int b);
19 void set_cursor_visibility(bool visible);
21 void blit(unsigned char *src_img, const Rect &src_rect, unsigned char* dest_img,
22 const Rect &dest_rect, int dest_x, int dest_y);
24 void blit_key(unsigned char *src_img, const Rect &src_rect, unsigned char* dest_img,
25 const Rect &dest_rect, int dest_x, int dest_y, int key_r, int key_g, int key_b);
29 void wait_vsync(); // vertical synchronization