add bitmap functions prototype

This commit is contained in:
milang 2019-08-28 19:55:39 +02:00
parent 1932cb8406
commit 2fa7e5a082
No known key found for this signature in database
GPG Key ID: D287C9D6C33D9035
2 changed files with 12 additions and 7 deletions

View File

@ -6,9 +6,6 @@
1 dans layout -> 1 dans color -> noir
0 dans color -> blanc */
struct bitmap_rich_8
{
uint32_t size_x,
@ -34,4 +31,14 @@ struct bitmap_rich_32
uint32_t * color;
uint32_t * layout;
};
};
/* bitmap_get_color_<type>(int x, int y)
returns a color coded in 2 bytes
byte 7 -> layout (visible, invisible)
byte 6 -> color (N || B) */
uint8_t bitmap_get_color_8(int x, int y);
uint8_t bitmap_get_color_16(int x, int y);
uint8_t bitmap_get_color_32(int x, int y);

View File

@ -1,3 +1 @@
#include <bitmap.h>
bool
#include <bitmap.h>