scene.h (563B)
1 #ifndef TA_SCENE_H
2 #define TA_SCENE_H
3
4 #include <stdint.h>
5 #include <stdbool.h>
6 #include "fixed.h"
7 #include "text.h"
8
9 void ta_scene_begin(void);
10 bool ta_scene_end(void);
11 void ta_scene_invalidate(void);
12 bool ta_scene_image(const uint8_t *data, uint32_t length, ta_fixed x, ta_fixed y, ta_fixed width, ta_fixed height, uint16_t frame);
13 bool ta_scene_text(ta_text *text, uint32_t x, uint32_t y);
14 bool ta_scene_shape(uint32_t type, const uint32_t *args, uint32_t color);
15 bool ta_scene_shape(uint32_t type, const uint32_t *args, uint32_t color);
16
17 #endif // TA_SCENE_H