From f48a61f103bace510e4ab74975f2e5ea11bd135f Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Sat, 5 Dec 2009 13:23:16 +0000 Subject: 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 --- apps/plugins/boomshine.lua | 4 ++-- 1 file 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 -- cgit v1.2.3