Initial custom asset pack support

This commit is contained in:
Willy-JL
2023-01-19 07:33:17 +00:00
parent de0f5017cd
commit 59bfb585cb
5 changed files with 122 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
#pragma once
#include <gui/icon_i.h>
#include "xtreme_settings.h"
#include "assets_icons.h"
#include <toolbox/path.h>
#define PACKS_DIR EXT_PATH("dolphin_custom")
typedef struct {
const Icon* passport_happy;
@@ -12,3 +15,7 @@ typedef struct {
XtremeAssets* XTREME_ASSETS();
void XTREME_ASSETS_UPDATE();
void swap_bmx_icon(const Icon** replace, const char* base, const char* name, FuriString* path, File* file, int i);
void free_bmx_icon(Icon* icon);