Initial commit
This commit is contained in:
23
main/card_assets.h
Normal file
23
main/card_assets.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "lvgl.h"
|
||||
#include "tarot_deck.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* First-pass on-device art renderer.
|
||||
*
|
||||
* The app no longer depends on SD card media. Card visuals are generated from
|
||||
* LVGL widgets using deck metadata already compiled into firmware. Later, real
|
||||
* embedded LVGL image descriptors can be mapped by card id inside this module.
|
||||
*/
|
||||
lv_obj_t *card_assets_create_card_art(lv_obj_t *parent, const tarot_card_t *card, bool reversed);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user