From 398c7060f8a51bb83b0f5e0c2a1611d684603d2b Mon Sep 17 00:00:00 2001 From: Bryan Siepert Date: Wed, 27 Feb 2019 21:02:48 -0800 Subject: added monochrome, 8bpp indexed, and 32bpp ARGB BMPs --- shared-module/displayio/OnDiskBitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared-module/displayio/OnDiskBitmap.h') diff --git a/shared-module/displayio/OnDiskBitmap.h b/shared-module/displayio/OnDiskBitmap.h index 2102863d6..28426f11b 100644 --- a/shared-module/displayio/OnDiskBitmap.h +++ b/shared-module/displayio/OnDiskBitmap.h @@ -44,9 +44,9 @@ typedef struct { uint32_t g_bitmask; uint32_t b_bitmask; bool bitfield_compressed; - bool grayscale; pyb_file_obj_t* file; - uint8_t bytes_per_pixel; + uint8_t bits_per_pixel; + uint32_t* palette_data; } displayio_ondiskbitmap_t; #endif // MICROPY_INCLUDED_SHARED_MODULE_DISPLAYIO_ONDISKBITMAP_H -- cgit v1.2.3