summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2006-07-01 10:14:27 +0000
committerKevin Ferrare <kevin@rockbox.org>2006-07-01 10:14:27 +0000
commit0028b05f3ec112c55d1706a94edd96911ef95449 (patch)
tree873da3113b38be14fdc67205f9f5c9df2fa44012 /apps/screen_access.c
parent4e819aa2afe54969152ea6e210e05707b6ff5e44 (diff)
downloadrockbox-0028b05f3ec112c55d1706a94edd96911ef95449.tar.gz
rockbox-0028b05f3ec112c55d1706a94edd96911ef95449.tar.bz2
rockbox-0028b05f3ec112c55d1706a94edd96911ef95449.zip
Added multi-screen API to the plugins API, made 'demystify plugin' use the remote display as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 5e3dfd8505..704cab1a37 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -100,6 +100,8 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->puts=&lcd_remote_puts;
screen->backlight_on=&remote_backlight_on;
screen->backlight_off=&remote_backlight_off;
+ screen->is_backlight_on=&is_remote_backlight_on;
+ screen->backlight_set_timeout=&remote_backlight_set_timeout;
break;
#endif /* HAVE_REMOTE_LCD */
@@ -182,6 +184,8 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->puts=&lcd_puts;
screen->backlight_on=&backlight_on;
screen->backlight_off=&backlight_off;
+ screen->is_backlight_on=&is_backlight_on;
+ screen->backlight_set_timeout=&backlight_set_timeout;
break;
}
screen->screen_type=screen_type;