mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Cleanup: Track color constant name change (#9716)
* Bump base https://github.com/koreader/koreader-base/pull/1547 https://github.com/koreader/koreader-base/pull/1548
This commit is contained in:
2
base
2
base
Submodule base updated: 1b3a23eed1...0fd29ac60a
12
defaults.lua
12
defaults.lua
@@ -180,13 +180,11 @@ DMINIBAR_CONTAINER_HEIGHT = 14, -- Larger means more padding at the bottom, at
|
||||
-- insensitive sort
|
||||
DALPHA_SORT_CASE_INSENSITIVE = true,
|
||||
|
||||
-- Light parameter for Kobo
|
||||
KOBO_LIGHT_ON_START = -2, -- -1, -2 or 0-100.
|
||||
-- -1 uses previous koreader session saved brightness
|
||||
-- -2 uses 'Kobo eReader.conf' brighness,
|
||||
-- other sets light on start to a fix brighness
|
||||
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = true, -- Save brightness set in KOreader
|
||||
-- with nickel's 'Kobo eReader.conf'
|
||||
-- Frontlight behavior on Kobo
|
||||
KOBO_LIGHT_ON_START = -2, -- -1, -2 or 0-100.
|
||||
-- -1 uses the brightness set by KOReader (if any, 20% otherwise)
|
||||
-- -2 uses the brightness set in Nickel
|
||||
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = true, -- Update Nickel's config to match our own
|
||||
|
||||
-- Network proxy settings
|
||||
-- proxy url should be a string in the format of "http://localhost:3128"
|
||||
|
||||
@@ -332,7 +332,7 @@ function BookMapRow:init()
|
||||
end
|
||||
local color = Blitbuffer.COLOR_BLACK
|
||||
if self.current_session_duration and self.read_pages[page][2] < self.current_session_duration then
|
||||
color = Blitbuffer.COLOR_DIM_GRAY
|
||||
color = Blitbuffer.COLOR_GRAY_5
|
||||
end
|
||||
table.insert(self.pages_markers, {
|
||||
x = x, y = y,
|
||||
|
||||
@@ -185,7 +185,7 @@ function BookStatusWidget:genHeader(title)
|
||||
local header_title = TextWidget:new{
|
||||
text = title,
|
||||
face = self.medium_font_face,
|
||||
fgcolor = Blitbuffer.COLOR_WEB_GRAY,
|
||||
fgcolor = Blitbuffer.COLOR_GRAY_9,
|
||||
}
|
||||
|
||||
local padding_span = HorizontalSpan:new{ width = self.padding }
|
||||
|
||||
@@ -199,7 +199,7 @@ function ProgressWidget:updateStyle(thick, height)
|
||||
self.bordersize = 0
|
||||
self.radius = 0
|
||||
self.bgcolor = Blitbuffer.COLOR_GRAY
|
||||
self.fillcolor = Blitbuffer.COLOR_DIM_GRAY
|
||||
self.fillcolor = Blitbuffer.COLOR_GRAY_5
|
||||
self.ticks = nil
|
||||
self._orig_margin_v = nil
|
||||
self._orig_bordersize = nil
|
||||
|
||||
@@ -250,9 +250,9 @@ local SPAN_COLORS = {
|
||||
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY_E },
|
||||
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_LIGHT_GRAY },
|
||||
{ Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_WEB_GRAY },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_9 },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_DARK_GRAY },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_DIM_GRAY },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_5 },
|
||||
{ Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_BLACK },
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ local util = require("util")
|
||||
local _ = require("gettext")
|
||||
local Screen = Device.screen
|
||||
|
||||
local LINE_COLOR = Blitbuffer.COLOR_WEB_GRAY
|
||||
local LINE_COLOR = Blitbuffer.COLOR_GRAY_9
|
||||
local BG_COLOR = Blitbuffer.COLOR_LIGHT_GRAY
|
||||
|
||||
-- Oh, hey, this one actually *is* an InputContainer!
|
||||
|
||||
Reference in New Issue
Block a user