add koreader plugin mechanism

This should implement #505.
This commit is contained in:
chrox
2014-04-23 21:57:48 +08:00
parent 24d5c01a73
commit 34fd9f3efa
5 changed files with 63 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ function ReaderMenu:init()
typeset = {
icon = "resources/icons/appbar.page.text.png",
},
plugins = {
icon = "resources/icons/appbar.tools.png",
},
home = {
icon = "resources/icons/appbar.home.png",
callback = function()
@@ -105,6 +108,7 @@ function ReaderMenu:onShowReaderMenu()
self.tab_item_table.navi,
self.tab_item_table.typeset,
self.tab_item_table.main,
self.tab_item_table.plugins,
self.tab_item_table.home,
},
show_parent = menu_container,