mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
FS#12251 - User shortcuts in the main menu.
Custom shortcuts which give the user fast access to regularly used files/folders/settings/whatever. Thanks to Alexander Levin for the manual part of the patch git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30990 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7e4b131d0
commit
101693fd30
17 changed files with 628 additions and 22 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "icon.h"
|
||||
#include "icons.h"
|
||||
#include "root_menu.h" /* needed for MENU_* return codes */
|
||||
#include "settings_list.h"
|
||||
|
||||
|
||||
enum menu_item_type {
|
||||
|
@ -103,6 +104,8 @@ typedef int (*menu_callback_type)(int action,
|
|||
const struct menu_item_ex *this_item);
|
||||
void do_setting_from_menu(const struct menu_item_ex *temp,
|
||||
struct viewport parent[NB_SCREENS]);
|
||||
void do_setting_screen(const struct settings_list *setting, const char * title,
|
||||
struct viewport parent[NB_SCREENS]);
|
||||
|
||||
/*
|
||||
int do_menu(const struct menu_item_ex *menu, int *start_selected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue