This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local readerFooter = require("apps/reader/modules/readerfooter") | |
| local ProgressWidget = require("ui/widget/progresswidget") | |
| local BD = require("ui/bidi") | |
| local Blitbuffer = require("ffi/blitbuffer") | |
| local Geom = require("ui/geometry") | |
| local Math = require("optmath") | |
| local Screen = require("device").screen | |
| -- Somewhat empirically chosen threshold to switch between the two designs ;o) | |
| local INITIAL_MARKER_HEIGHT_THRESHOLD = Screen:scaleBySize(12) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --SETTINGS--======================================== | |
| local api_key = "ENTER API KEY HERE" | |
| local USE_FOR_TRANSLATION = true | |
| local USE_FOR_DETECTION = true | |
| local SHOW_DEEPL_LANGUAGES_AS_OPTIONS = true | |
| -------------========================= |