mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
first demo for credocument
This commit is contained in:
@@ -4,6 +4,7 @@ ReaderToc = InputContainer:new{
|
||||
},
|
||||
dimen = Geom:new{ w = G_width-20, h = G_height-20},
|
||||
current_page = 0,
|
||||
current_pos = 0,
|
||||
}
|
||||
|
||||
function ReaderToc:cleanUpTocTitle(title)
|
||||
@@ -74,4 +75,8 @@ function ReaderToc:onPageUpdate(new_page_no)
|
||||
self.current_page = new_page_no
|
||||
end
|
||||
|
||||
function ReaderToc:onPosUpdate(new_pos)
|
||||
self.current_pos = new_pos
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user