- sdl_rect.x = rect.x;
- sdl_rect.y = rect.y;
- sdl_rect.w = rect.width;
- sdl_rect.h = rect.height;
-
- SDL_FillRect(fbsurf, &sdl_rect, color);
-}
-
-void set_cursor_visibility(bool visible)
-{
-}
-
-void blit(unsigned char *src_img, const Rect &src_rect, unsigned char* dest_img,
- const Rect &dest_rect, int dest_x, int dest_y)
+ sdl_rect.x = gfx->clipping_rect.x;
+ sdl_rect.y = gfx->clipping_rect.y;
+ sdl_rect.w = gfx->clipping_recvoid fill_rect(const Rect &rect, int r, int g, int b)