41#include "cnfs_image.h"
44#include "heatshrink_encoder.h"
46bool loadWsg(cnfsFileIdx_t fIdx,
wsg_t* wsg,
bool spiRam);
47bool loadWsgInplace(cnfsFileIdx_t fIdx,
wsg_t* wsg,
bool spiRam, uint8_t* decompressedBuf, heatshrink_decoder* hsd);
48bool loadWsgNvs(
const char*
namespace,
const char* key,
wsg_t* wsg,
bool spiRam);
49bool saveWsgNvs(
const char*
namespace,
const char* key,
const wsg_t* wsg);
bool saveWsgNvs(const char *namespace, const char *key, const wsg_t *wsg)
Definition fs_wsg.c:143
bool loadWsgNvs(const char *namespace, const char *key, wsg_t *wsg, bool spiRam)
Definition fs_wsg.c:105
bool loadWsgInplace(cnfsFileIdx_t fIdx, wsg_t *wsg, bool spiRam, uint8_t *decompressedBuf, heatshrink_decoder *hsd)
Load a WSG from ROM to RAM. WSGs placed in the assets_image folder before compilation will be automat...
Definition fs_wsg.c:77
void freeWsg(wsg_t *wsg)
Free the memory for a loaded WSG.
Definition fs_wsg.c:196
bool loadWsg(cnfsFileIdx_t fIdx, wsg_t *wsg, bool spiRam)
Load a WSG from ROM to RAM. WSGs placed in the assets_image folder before compilation will be automat...
Definition fs_wsg.c:32
A sprite using paletteColor_t colors that can be drawn to the display.
Definition wsg.h:57