2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/frontend/ui/elements/reader_menu_order.lua

133 lines
3.4 KiB
Lua
Raw Normal View History

local order = {
["KOMenu:menu_buttons"] = {
"navi",
"typeset",
"setting",
"tools",
"search",
"filemanager",
"main",
},
navi = {
"table_of_contents",
"bookmarks",
"bookmark_browsing_mode",
"----------------------------",
"go_to",
"skim_to",
"----------------------------",
"go_to_previous_location",
"follow_links",
},
typeset = {
"set_render_style",
"style_tweaks",
"----------------------------",
"change_font",
"hyphenation",
"floating_punctuation",
"----------------------------",
"switch_zoom_mode",
"----------------------------",
"page_overlap",
"speed_reading_module_perception_expander",
"----------------------------",
"highlight_options",
},
setting = {
"read_from_right_to_left",
-- common settings
-- those that don't exist will simply be skipped during menu gen
"frontlight", -- if Device:hasFrontlight()
"night_mode",
"----------------------------",
"network",
"screen",
"screensaver",
"document",
"navigation",
"----------------------------",
"language",
"time",
"----------------------------",
"djvu_render_mode",
"status_bar",
},
network = {
"network_wifi",
"network_proxy",
"network_restore",
"network_info",
"network_before_wifi_action",
"----------------------------",
"ssh",
},
tools = {
"read_timer",
"calibre_wireless_connection",
"evernote",
"statistics",
"progress_sync",
"zsync",
"news_downloader",
2018-02-22 23:02:32 +00:00
"send2ebook",
"----------------------------",
"more_plugins",
},
more_plugins = {
"auto_frontlight",
"frontlight_gesture_controller",
"battery_statistics",
"synchronize_time",
"keep_alive",
2017-04-02 06:50:24 +00:00
"terminal",
"storage_stat",
},
search = {
"dictionary_lookup",
"dictionary_lookup_history",
"dictionary_settings",
"----------------------------",
"wikipedia_lookup",
"wikipedia_history",
"wikipedia_settings",
"----------------------------",
"goodreads",
"----------------------------",
"fulltext_search",
},
filemanager = {},
main = {
"history",
"book_status",
"book_info",
"----------------------------",
"system_statistics",
"----------------------------",
"ota_update", --[[ if Device:isKindle() or Device:isKobo() or
Device:isPocketBook() or Device:isAndroid() ]]--
"version",
"help",
"----------------------------",
"exit_menu",
},
help = {
"quickstart_guide",
"----------------------------",
"report_bug",
"----------------------------",
"about",
},
exit_menu = {
"restart_koreader",
"----------------------------",
"sleep", -- if Device:isKindle() or Device:isKobo()
"poweroff", -- if Device:isKobo()
"reboot", -- if Device:isKobo()
"----------------------------",
"exit",
}
}
return order