summaryrefslogtreecommitdiffstats
path: root/apps/plugins/boomshine.lua
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-12-05 13:23:16 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-12-05 13:23:16 +0000
commitf48a61f103bace510e4ab74975f2e5ea11bd135f (patch)
tree15ee054bbaa677a220c83573b663487fa2a771e4 /apps/plugins/boomshine.lua
parent237f129651875a5cba42ea5b405611406aa5a506 (diff)
downloadrockbox-f48a61f103bace510e4ab74975f2e5ea11bd135f.tar.gz
rockbox-f48a61f103bace510e4ab74975f2e5ea11bd135f.zip
boomshine: use theme colour to draw text so that text would be more readable with white background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23852 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/boomshine.lua')
-rw-r--r--apps/plugins/boomshine.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/boomshine.lua b/apps/plugins/boomshine.lua
index f73875de5e..c9bd4a3ede 100644
--- a/apps/plugins/boomshine.lua
+++ b/apps/plugins/boomshine.lua
@@ -33,8 +33,8 @@ else
end
-- color used to write the text
-if rb.lcd_rgbpack ~= nil then
- DEFAULT_FOREGROUND_COLOR = rb.lcd_rgbpack(255, 255, 255)
+if rb.lcd_get_foreground ~= nil then
+ DEFAULT_FOREGROUND_COLOR = rb.lcd_get_foreground()
else
DEFAULT_FOREGROUND_COLOR = 0
end