X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=gpsp.git;a=blobdiff_plain;f=video.h;h=cb717f29ad45538c5e470065918af3243939c1ba;hp=6be6b9c18a3ac7ede0fe1ecc0901a53ad8866681;hb=42c8119010bfc48776e8c82e42cceb06d07c0247;hpb=73d1a857f28a0fe7f6afaf3ca4c99fca5f50256c diff --git a/video.h b/video.h index 6be6b9c..cb717f2 100644 --- a/video.h +++ b/video.h @@ -30,7 +30,8 @@ void print_string(const char *str, u16 fg_color, u16 bg_color, void print_string_pad(const char *str, u16 fg_color, u16 bg_color, u32 x, u32 y, u32 pad); void print_string_ext(const char *str, u16 fg_color, u16 bg_color, - u32 x, u32 y, void *_dest_ptr, u32 pitch, u32 pad); + u32 x, u32 y, void *_dest_ptr, u32 pitch, u32 pad, + u32 h_offset, u32 height); void clear_screen(u16 color); void blit_to_screen(u16 *src, u32 w, u32 h, u32 x, u32 y); u16 *copy_screen(); @@ -76,7 +77,11 @@ typedef enum { unscaled, scaled_aspect, +#ifndef WIZ_BUILD fullscreen, +#endif + unscaled_rot, + scaled_aspect_rot, } video_scale_type; typedef enum