mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
70 lines
1.5 KiB
C
70 lines
1.5 KiB
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define XTREME_SETTINGS_PATH CFG_PATH("xtreme_settings.txt")
|
|
#define XTREME_ASSETS_PATH EXT_PATH("dolphin_custom")
|
|
#define XTREME_APPS_PATH CFG_PATH("xtreme_apps.txt")
|
|
#define XTREME_ASSETS_PACK_NAME_LEN 32
|
|
|
|
typedef enum {
|
|
BatteryIconOff,
|
|
BatteryIconBar,
|
|
BatteryIconPercent,
|
|
BatteryIconInvertedPercent,
|
|
BatteryIconRetro3,
|
|
BatteryIconRetro5,
|
|
BatteryIconBarPercent,
|
|
BatteryIconCount,
|
|
} BatteryIcon;
|
|
|
|
typedef struct {
|
|
bool is_nsfw; // TODO: replace with packs text support
|
|
|
|
char asset_pack[XTREME_ASSETS_PACK_NAME_LEN];
|
|
uint32_t anim_speed;
|
|
int32_t cycle_anims;
|
|
bool unlock_anims;
|
|
bool fallback_anim;
|
|
bool wii_menu;
|
|
bool lock_on_boot;
|
|
bool bad_pins_format;
|
|
bool pin_unlock_from_app;
|
|
bool lockscreen_time;
|
|
bool lockscreen_seconds;
|
|
bool lockscreen_date;
|
|
bool lockscreen_statusbar;
|
|
bool lockscreen_prompt;
|
|
uint32_t battery_icon;
|
|
bool statusbar_clock;
|
|
bool status_icons;
|
|
bool bar_borders;
|
|
bool bar_background;
|
|
bool sort_dirs_first;
|
|
bool show_hidden_files;
|
|
bool show_internal_tab;
|
|
uint32_t favorite_timeout;
|
|
bool bad_bt;
|
|
bool bad_bt_remember;
|
|
bool dark_mode;
|
|
bool rgb_backlight;
|
|
uint32_t butthurt_timer;
|
|
uint32_t charge_cap;
|
|
} XtremeSettings;
|
|
|
|
void XTREME_SETTINGS_LOAD();
|
|
void XTREME_SETTINGS_SAVE();
|
|
XtremeSettings* XTREME_SETTINGS();
|
|
|
|
void XTREME_ASSETS_LOAD();
|
|
void XTREME_ASSETS_FREE();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|