summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-10-14 01:32:58 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-10-14 01:32:58 +0000
commit6aa12c11f741a4544d780d11fc583a25a5aef171 (patch)
tree0fe4b08bd13817657660c5339247e8ea203f2508 /apps/plugin.c
parent1f3360f0216dbf54bcd50547a759fa6e514c6e76 (diff)
downloadrockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.tar.gz
rockbox-6aa12c11f741a4544d780d11fc583a25a5aef171.zip
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 876f82d774..38fdaa8f35 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -220,7 +220,7 @@ static const struct plugin_api rockbox_api = {
220 gui_synclist_scroll_left, 220 gui_synclist_scroll_left,
221#endif 221#endif
222 gui_synclist_do_button, 222 gui_synclist_do_button,
223 223
224 /* button */ 224 /* button */
225 button_get, 225 button_get,
226 button_get_w_tmo, 226 button_get_w_tmo,
@@ -413,7 +413,7 @@ static const struct plugin_api rockbox_api = {
413 get_action, 413 get_action,
414 action_signalscreenchange, 414 action_signalscreenchange,
415 action_userabort, 415 action_userabort,
416 416
417 /* power */ 417 /* power */
418 battery_level, 418 battery_level,
419 battery_level_safe, 419 battery_level_safe,
@@ -466,7 +466,7 @@ static const struct plugin_api rockbox_api = {
466 466
467 /* new stuff at the end, sort into place next time 467 /* new stuff at the end, sort into place next time
468 the API gets incompatible */ 468 the API gets incompatible */
469 469
470 strtok_r, 470 strtok_r,
471#ifdef HAVE_WHEEL_POSITION 471#ifdef HAVE_WHEEL_POSITION
472 wheel_status, 472 wheel_status,
@@ -608,7 +608,7 @@ int plugin_load(const char* plugin, void* parameter)
608 608
609#ifdef HAVE_REMOTE_LCD 609#ifdef HAVE_REMOTE_LCD
610#if LCD_REMOTE_DEPTH > 1 610#if LCD_REMOTE_DEPTH > 1
611 lcd_remote_set_drawinfo(DRMODE_SOLID, LCD_REMOTE_DEFAULT_FG, 611 lcd_remote_set_drawinfo(DRMODE_SOLID, LCD_REMOTE_DEFAULT_FG,
612 LCD_REMOTE_DEFAULT_BG); 612 LCD_REMOTE_DEFAULT_BG);
613#else 613#else
614 lcd_remote_set_drawmode(DRMODE_SOLID); 614 lcd_remote_set_drawmode(DRMODE_SOLID);