customizable tap zones for page flipping and bookmarking

This commit is contained in:
chrox
2013-12-17 19:53:43 +08:00
parent 3205f228d3
commit f0039cbb02
6 changed files with 64 additions and 41 deletions

View File

@@ -43,9 +43,11 @@ DSHOWHIDDENFILES = false
-- 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_CONFIG = {x = 0, y = 11/12, w = 1, h = 1/12}
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}
DTAP_ZONE_BOOKMARK = {x = 7/8, y = 0, w = 1/8, h = 1/8}
DTAP_ZONE_FLIPPING = {x = 0, y = 0, w = 1/8, h = 1/8}
-- koptreader config defaults
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0