From e117e43bd06627f7fadb2c58adf07e058f100579 Mon Sep 17 00:00:00 2001 From: neonloop Date: Fri, 12 Mar 2021 16:11:08 +0000 Subject: Initial trimui s support --- shell/video/gcw0/video_blit.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 shell/video/gcw0/video_blit.h (limited to 'shell/video/gcw0/video_blit.h') diff --git a/shell/video/gcw0/video_blit.h b/shell/video/gcw0/video_blit.h new file mode 100644 index 0000000..08528e1 --- /dev/null +++ b/shell/video/gcw0/video_blit.h @@ -0,0 +1,24 @@ +#ifndef VIDEO_BLIT_H +#define VIDEO_BLIT_H + +#include + +#define HOST_WIDTH_RESOLUTION sdl_screen->w +#define HOST_HEIGHT_RESOLUTION sdl_screen->h + +#define BACKBUFFER_WIDTH_RESOLUTION backbuffer->w +#define BACKBUFFER_HEIGHT_RESOLUTION backbuffer->h + +extern SDL_Surface *sdl_screen, *backbuffer; + +extern uint32_t width_of_surface; +extern uint32_t* Draw_to_Virtual_Screen; + +void Init_Video(); +void Set_Video_Menu(); +void Set_Video_InGame(); +void Video_Close(); +void Update_Video_Menu(); +void Update_Video_Ingame(); + +#endif -- cgit v1.2.3