add bitmap functions prototype
This commit is contained in:
parent
1932cb8406
commit
2fa7e5a082
|
@ -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);
|
|
@ -1,3 +1 @@
|
|||
#include <bitmap.h>
|
||||
|
||||
bool
|
||||
#include <bitmap.h>
|
Loading…
Reference in New Issue