add customizable tap zones for tap forward/backward and config

This commit is contained in:
chrox
2013-12-15 17:02:52 +08:00
parent ea91cdb4be
commit 912a8a496b
5 changed files with 42 additions and 33 deletions

View File

@@ -38,6 +38,15 @@ DSHOWOVERLAP = false
-- default to false
DSHOWHIDDENFILES = false
-- customizable tap zones(rectangles)
-- x: x coordinate of top left corner in proportion of screen width
-- y: y coordinate of top left corner in proportion of screen height
-- w: width of tap zone in proportion of screen width
-- h: height of tap zone in proportion of screen height
DTAP_ZONE_FORWARD = {x = 1/4, y = 0, w = 3/4, h = 1}
DTAP_ZONE_BACKWARD = {x = 0, y = 0, w = 1/4, h = 1}
DTAP_ZONE_CONFIG = {x = 0, y = 11/12, w = 1, h = 1/12}
-- koptreader config defaults
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0
DKOPTREADER_CONFIG_TEXT_WRAP = 0 -- 1 = on, 0 = off