|
|
|
@ -6,6 +6,7 @@ local InputContainer = require("ui/widget/container/inputcontainer")
|
|
|
|
|
local MultiConfirmBox = require("ui/widget/multiconfirmbox")
|
|
|
|
|
local ProgressWidget = require("ui/widget/progresswidget")
|
|
|
|
|
local ReaderPanning = require("apps/reader/modules/readerpanning")
|
|
|
|
|
local Size = require("ui/size")
|
|
|
|
|
local TimeVal = require("ui/timeval")
|
|
|
|
|
local UIManager = require("ui/uimanager")
|
|
|
|
|
local bit = require("bit")
|
|
|
|
@ -1028,9 +1029,9 @@ function ReaderRolling:showEngineProgress(percent)
|
|
|
|
|
-- Widget size and position: best to anchor it at top left,
|
|
|
|
|
-- so it does not override the footer or a bookmark dogear
|
|
|
|
|
local x = 0
|
|
|
|
|
local y = 0
|
|
|
|
|
local y = Size.margin.small
|
|
|
|
|
local w = Screen:getWidth() / 3
|
|
|
|
|
local h = Screen:scaleBySize(5)
|
|
|
|
|
local h = Size.line.progress
|
|
|
|
|
if self.engine_progress_widget then
|
|
|
|
|
self.engine_progress_widget:setPercentage(percent)
|
|
|
|
|
else
|
|
|
|
|