Files
Momentum-Firmware/lib/momentum/momentum.h
WillyJL aa6d4de9fe Asset Packs: Optimize icon loader (#164)
* Original pointer can be const

* Back to const icons

* Missed this one

* Simpler string alloc

* Single allocation and header struct for static icons

* Shared allocation and meta struct for animated icons

* Only try to load if dir exists

* Restructure momentum lib

* Use some internal headers

* Swap icons at draw

* Properly init and free, no more original in icon struct
2024-07-18 03:35:21 +01:00

15 lines
197 B
C

#pragma once
// Keep momentum.h for backwards compatibility and for SDK header
#ifdef __cplusplus
extern "C" {
#endif
#include "asset_packs.h"
#include "settings.h"
#ifdef __cplusplus
}
#endif