remove unused onPageUpdate and onPosUpdate in readertoc

pull/2/merge
Qingping Hou 12 years ago
parent 943d56699e
commit d295e28046

@ -1,7 +1,5 @@
ReaderToc = InputContainer:new{
toc_menu_title = "Table of contents",
current_page = 0,
current_pos = 0,
}
function ReaderToc:init()
@ -87,14 +85,6 @@ function ReaderToc:onShowToc()
UIManager:show(menu_container)
end
function ReaderToc:onPageUpdate(new_page_no)
self.current_page = new_page_no
end
function ReaderToc:onPosUpdate(new_pos)
self.current_pos = new_pos
end
function ReaderToc:addToMainMenu(item_table)
-- insert table to main reader menu
table.insert(item_table, {

Loading…
Cancel
Save