Sinnvolleres Spawn- und Bewegungsverhalten.
[hackover2013-badge-firmware.git] / badge / ui / sprite.h
1 #ifndef INCLUDED_BADGE2013_MOCKUP_SPRITE_H
2 #define INCLUDED_BADGE2013_MOCKUP_SPRITE_H
3
4 #include "display.h"
5 #include <stdint.h>
6
7 enum {
8 BADGE_SPRITE_MAX_WIDTH = 32
9 };
10
11 typedef struct {
12 uint8_t width;
13 uint8_t height;
14 uint8_t const *data;
15 } badge_sprite;
16
17 enum {
18 BADGE_BLT_MIRRORED = 1
19 };
20
21 void badge_framebuffer_blt(badge_framebuffer *fb,
22 int8_t x,
23 int8_t y,
24 badge_sprite const *sprite,
25 unsigned flags);
26
27 #endif
This page took 0.043904 seconds and 5 git commands to generate.