vga-logic-processor-examples/bmp.h

20 lines
280 B
C
Raw Normal View History

#pragma pack(push,1)
struct BMPColor {
uint8_t blue;
uint8_t green;
uint8_t red;
uint8_t _a;
};
struct BMPImage {
uint16_t width;
uint16_t height;
uint16_t bpp;
struct BMPColor colors[256];
char *memoryStart;
uint16_t transparentColor;
};
#pragma pack(pop)