diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2006-10-14 01:32:58 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2006-10-14 01:32:58 +0000 |
| commit | 6aa12c11f741a4544d780d11fc583a25a5aef171 (patch) | |
| tree | 0fe4b08bd13817657660c5339247e8ea203f2508 /apps/plugin.c | |
| parent | 1f3360f0216dbf54bcd50547a759fa6e514c6e76 (diff) | |
| download | rockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.zip rockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.tar.gz rockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.tar.bz2 rockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.tar.xz | |
Added a small interface to screens to translate colors into remote gray levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 876f82d..38fdaa8 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -220,7 +220,7 @@ static const struct plugin_api rockbox_api = { gui_synclist_scroll_left, #endif gui_synclist_do_button, - + /* button */ button_get, button_get_w_tmo, @@ -413,7 +413,7 @@ static const struct plugin_api rockbox_api = { get_action, action_signalscreenchange, action_userabort, - + /* power */ battery_level, battery_level_safe, @@ -466,7 +466,7 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ - + strtok_r, #ifdef HAVE_WHEEL_POSITION wheel_status, @@ -608,7 +608,7 @@ int plugin_load(const char* plugin, void* parameter) #ifdef HAVE_REMOTE_LCD #if LCD_REMOTE_DEPTH > 1 - lcd_remote_set_drawinfo(DRMODE_SOLID, LCD_REMOTE_DEFAULT_FG, + lcd_remote_set_drawinfo(DRMODE_SOLID, LCD_REMOTE_DEFAULT_FG, LCD_REMOTE_DEFAULT_BG); #else lcd_remote_set_drawmode(DRMODE_SOLID); |