24 lines
533 B
C
24 lines
533 B
C
#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
|