mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
unify color specification
colors were a mixture of 4bpp integers (0=white, 15=black) and fractional blackness levels (0=white, 1.0=black) before. This is now unified to use the color specification of the Blitbuffer API.
This commit is contained in:
@@ -10,6 +10,7 @@ local Screen = require("ui/screen")
|
||||
local DEBUG = require("dbg")
|
||||
local _ = require("gettext")
|
||||
local util = require("ffi/util")
|
||||
local Blitbuffer = require("ffi/blitbuffer")
|
||||
|
||||
local InfoMessage = require("ui/widget/infomessage")
|
||||
local input_field
|
||||
@@ -65,7 +66,7 @@ function MultiInputDialog:init()
|
||||
bordersize = 3,
|
||||
padding = 0,
|
||||
margin = 0,
|
||||
background = 0,
|
||||
background = Blitbuffer.COLOR_WHITE,
|
||||
VerticalGroupData,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user