make overlap pixels configurable

pull/513/head
chrox 10 years ago
parent cb757a9ddf
commit b1acbb2446

@ -53,6 +53,9 @@ DSHOWFILESIZE = false
-- default to true, set to false for counterclockwise rotation -- default to true, set to false for counterclockwise rotation
DLANDSCAPE_CLOCKWISE_ROTATION = true DLANDSCAPE_CLOCKWISE_ROTATION = true
-- page overlap pixels
DOVERLAPPIXELS = 30
-- customizable tap zones(rectangles) -- customizable tap zones(rectangles)
-- x: x coordinate of top left corner in proportion of screen width -- x: x coordinate of top left corner in proportion of screen width
-- y: y coordinate of top left corner in proportion of screen height -- y: y coordinate of top left corner in proportion of screen height

@ -17,7 +17,7 @@ local ReaderPaging = InputContainer:new{
visible_area = nil, visible_area = nil,
page_area = nil, page_area = nil,
show_overlap_enable = nil, show_overlap_enable = nil,
overlap = Screen:scaleByDPI(30), overlap = Screen:scaleByDPI(DOVERLAPPIXELS),
page_flipping_mode = false, page_flipping_mode = false,
bookmark_flipping_mode = false, bookmark_flipping_mode = false,

Loading…
Cancel
Save