aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/bmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libgui/bmp.h')
-rw-r--r--libs/libgui/bmp.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/libs/libgui/bmp.h b/libs/libgui/bmp.h
deleted file mode 100644
index f7fb57f..0000000
--- a/libs/libgui/bmp.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// MIT License, Copyright (c) 2020 Marvin Borner
-
-#ifndef BMP_H
-#define BMP_H
-
-#include <def.h>
-#include <vec.h>
-
-struct bmp_header {
- u8 signature[2];
- u32 size;
- u32 reserved;
- u32 offset;
-} PACKED;
-
-struct bmp_info {
- u32 size;
- u32 width;
- u32 height;
- u16 planes;
- u16 bpp;
- u32 compression;
- u32 compressed_size;
- u32 x_pixel_meter;
- u32 y_pixel_meter;
- u32 colors;
- u32 important_colors;
-};
-
-struct bmp {
- vec2 size;
- u8 *data;
- u32 bpp;
- u32 pitch;
-};
-
-struct bmp *bmp_load(const char *path) NONNULL;
-
-#endif