View Single Post
Old 07-03-2014, 02:22 AM   #1279
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
I am a bit proud of it, so I mention it here, my first own code submission is part of the latest nightly build of Koreader! It enhances the mini progress bar a bit and adds a feature that let's you see in an epub how many pages are left until the next chapter starts (in case the epub has a TOC that is).

To configure this check in defaults.lua the entries
DMINIBAR_ALL_AT_ONCE = true/false
DMINIBAR_TIME = true/false
DMINIBAR_PAGES = true/false
DMINIBAR_NEXT_CHAPTER = true/false

ALL_AT_ONCE shows all of the three below which are set to true, in case of ALL_AT_ONCE=false it toggles between the below ones that are set to true.

Since the defualt.lua entries will get overwritten with each new nightly I recommend to add any changes to the default values to defaults.persistent.lua (create one if you don't have one in the Koreader main folder). This file will not get overwritten with a new version and can include any settings from default.lua.
WS64 is offline   Reply With Quote