mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
* 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
19 lines
339 B
C
19 lines
339 B
C
#pragma once
|
|
#include <furi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define MAINMENU_APPS_PATH CFG_PATH("mainmenu_apps.txt")
|
|
|
|
typedef struct LoaderMenu LoaderMenu;
|
|
|
|
LoaderMenu* loader_menu_alloc(void (*closed_cb)(void*), void* context, bool settings_only);
|
|
|
|
void loader_menu_free(LoaderMenu* loader_menu);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|