5#include "storage_macros.h"
7#define BUSY_THEMES_DIR BUSY_ASSETS_PATH("themes")
9#define BUSY_THEME_INIT(a) ((a) = busy_theme_alloc())
10#define BUSY_THEME_INIT_SET(a, b) ((a) = busy_theme_alloc_set(b))
11#define BUSY_THEME_OPLIST \
12 (INIT(BUSY_THEME_INIT), \
13 INIT_SET(BUSY_THEME_INIT_SET), \
14 SET(busy_theme_set), \
15 CLEAR(busy_theme_free), \
16 EQUAL(busy_theme_is_equal), \
17 CMP(busy_theme_cmp), \
18 SWAP(busy_theme_swap), \
24 BusyThemeFileTypeImage,
25 BusyThemeFileTypeAnim,
32 BusyThemeFileType bg_type;
46bool busy_theme_read(
BusyTheme* instance,
const char* name);
48const char* busy_theme_get_name(
const BusyTheme* instance);
50uint32_t busy_theme_get_order(
const BusyTheme* instance);
54void busy_theme_set_default(
BusyTheme* instance);
56bool busy_theme_is_default(
const BusyTheme* instance);
Definition busy_theme.c:14
Definition busy_theme.h:29