From 1a4eecd6a685e727611bbc1ffec696daa50bbaea Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 3 May 2017 17:01:21 +0200 Subject: Mouse cursor! --- src/common/include/proto/fb.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/common/include/proto/fb.h') diff --git a/src/common/include/proto/fb.h b/src/common/include/proto/fb.h index 710ecb1..02c0612 100644 --- a/src/common/include/proto/fb.h +++ b/src/common/include/proto/fb.h @@ -15,16 +15,19 @@ #define FB_MM_BGR32 8 // 4 bytes (32 bits) per pixel, red 0-7, green 8-15, blue 16-23 #define FB_MM_GREY8 10 // 1 byte (8 bits) per pixel greyscale +#define FB_MM_RGBA32 20 // 4 bytes (32 bits), red, green, blue, alpha +#define FB_MM_GA16 21 // 2 bytes (16 bits), grey, alpha + typedef struct { - uint32_t width, height; - uint32_t pitch; // bytes per line - uint32_t bpp; - uint32_t memory_model; + int32_t width, height; + int32_t pitch; // bytes per line + int32_t bpp; + int32_t memory_model; } fb_info_t; typedef struct { - uint32_t x, y; - uint32_t w, h; + int32_t x, y; + int32_t w, h; } fb_region_t; -- cgit v1.2.3