Added generic message buffer and open_compressed flag to menu_driver

This commit is contained in:
Timo Strunk 2014-09-19 20:31:18 +02:00
parent 3672b4ba40
commit 7bc369642d

View File

@ -70,6 +70,7 @@ typedef struct
uint64_t old_input_state;
uint64_t trigger_state;
bool do_held;
bool open_compressed;
unsigned delay_timer;
unsigned delay_count;
@ -90,6 +91,12 @@ typedef struct
bool defer_core;
char deferred_path[PATH_MAX];
/* This buffer can be used to display generic OK messages to the user.
* Fill it and call
* file_list_push(driver.menu->menu_stack, "", "message", 0, 0);
*/
char message_contents[PATH_MAX];
/* Quick jumping indices with L/R.
* Rebuilt when parsing directory. */
size_t scroll_indices[2 * (26 + 2) + 1];