diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2009-12-05 13:23:16 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2009-12-05 13:23:16 +0000 |
commit | f48a61f103bace510e4ab74975f2e5ea11bd135f (patch) | |
tree | 15ee054bbaa677a220c83573b663487fa2a771e4 /apps/plugins/boomshine.lua | |
parent | 237f129651875a5cba42ea5b405611406aa5a506 (diff) | |
download | rockbox-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.lua | 4 |
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 | |||
33 | end | 33 | end |
34 | 34 | ||
35 | -- color used to write the text | 35 | -- color used to write the text |
36 | if rb.lcd_rgbpack ~= nil then | 36 | if rb.lcd_get_foreground ~= nil then |
37 | DEFAULT_FOREGROUND_COLOR = rb.lcd_rgbpack(255, 255, 255) | 37 | DEFAULT_FOREGROUND_COLOR = rb.lcd_get_foreground() |
38 | else | 38 | else |
39 | DEFAULT_FOREGROUND_COLOR = 0 | 39 | DEFAULT_FOREGROUND_COLOR = 0 |
40 | end | 40 | end |