MenuSorter: initial implementation

* Menus are now sanely configurable
* Custom separator placement for clearer menus
This commit is contained in:
Frans de Jonge committed 2017-03-26 11:12:44 +02:00
1 parent f2f0c376fa
commit 5b20106db7
33 files changed
+490 -202

No files matched your search

@@ -66,10 +66,10 @@ end
function ReaderHighlight:addToMainMenu(tab_item_table)
-- insert table to main reader menu
table.insert(tab_item_table.typeset, {
self.ui.menu.menu_items["highlight_options"] = {
text = _("Highlight options"),
sub_item_table = self:genHighlightDrawerMenu(),
})
}
end
local highlight_style = {