Allow for toggling color rendering

New menu item in Screen submenu.
hasColorScreen enabled for SDL device.
This commit is contained in:
poire-z
2017-10-01 19:23:06 +02:00
committed by Frans de Jonge
parent f45188fb9d
commit 53f083f516
11 changed files with 101 additions and 20 deletions

View File

@@ -530,6 +530,10 @@ function ReaderRolling:onChangeScreenMode(mode)
self:onUpdatePos()
end
function ReaderRolling:onColorRenderingUpdate()
self.ui.document:updateColorRendering()
end
--[[
PosUpdate event is used to signal other widgets that pos has been changed.
--]]