Merge pull request #770 from WS64/master

Progressbar can now also be turned off in mini bar
pull/776/head
Huang Xin 10 years ago
commit d0b80d5e74

@ -121,6 +121,7 @@ DCREREADER_PROGRESS_BAR = 1
-- configure "mini" progress bar
DMINIBAR_ALL_AT_ONCE = false
DMINIBAR_PROGRESSBAR = true
DMINIBAR_TIME = true
DMINIBAR_PAGES = true
DMINIBAR_NEXT_CHAPTER = true

@ -75,7 +75,9 @@ function ReaderFooter:init()
dimen = Geom:new{ w = text_width, h = self.height },
self.progress_text,
}
table.insert(horizontal_group, bar_container)
if DMINIBAR_PROGRESSBAR then
table.insert(horizontal_group, bar_container)
end
table.insert(horizontal_group, text_container)
self[1] = BottomContainer:new{
dimen = Screen:getSize(),

Loading…
Cancel
Save