UX Overhaul (#305)
* Fix bgm checking bug
* Converted install and menu options into button menus rather than combos
* Fix sort order
* Various touch screen changes so that most functions can be done via touch
* Dim theme list when navigating menus
* Translation framework implemented
* bug when no themes loaded fixed
* Fix theme preview regression introduced in d037691
This commit is contained in:
@@ -54,6 +54,8 @@ static inline int max(const int a, const int b)
|
||||
|
||||
#define FASTSCROLL_WAIT 1e8
|
||||
|
||||
#define BETWEEN(min, x, max) (min < x && x < max)
|
||||
|
||||
typedef enum {
|
||||
MODE_THEMES = 0,
|
||||
MODE_SPLASHES,
|
||||
@@ -61,6 +63,14 @@ typedef enum {
|
||||
MODE_AMOUNT,
|
||||
} EntryMode;
|
||||
|
||||
typedef enum {
|
||||
DRAW_MODE_LIST = 0,
|
||||
DRAW_MODE_INSTALL,
|
||||
DRAW_MODE_EXTRA,
|
||||
|
||||
DRAW_MODE_AMOUNT,
|
||||
} DrawMode;
|
||||
|
||||
extern const char * main_paths[MODE_AMOUNT];
|
||||
extern const int entries_per_screen_v[MODE_AMOUNT];
|
||||
extern const int entries_per_screen_h[MODE_AMOUNT];
|
||||
|
||||
Reference in New Issue
Block a user