summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-10-29 02:33:19 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-10-29 02:33:19 +0000
commite75cbdd2a84904e9294091c0ae599762b067077a (patch)
tree96ebdd8d8a9cbe2495c896e489a9f413bc0ffd1f /apps/screen_access.c
parentdff9352430cfbcb8f3be5e26ccd752c7cdddf1e2 (diff)
downloadrockbox-e75cbdd2a84904e9294091c0ae599762b067077a.tar.gz
rockbox-e75cbdd2a84904e9294091c0ae599762b067077a.tar.bz2
rockbox-e75cbdd2a84904e9294091c0ae599762b067077a.zip
Some changes to the remote code : some one lines function turned into macros ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index e56a75dcce..8656ee8ace 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -171,24 +171,6 @@ void screen_update_nblines(struct screen * screen)
}
-#ifdef HAVE_LCD_BITMAP
-int screen_get_text_y_start(struct screen * screen)
-{
- screen=0;/* Avoid warning, this parameter is here for api integrity */
- return(global_settings.statusbar?STATUSBAR_HEIGHT:0);
-}
-
-int screen_get_text_y_end(struct screen * screen)
-{
-#ifdef HAS_BUTTONBAR
- return( screen->height - (global_settings.buttonbar?BUTTONBAR_HEIGHT:0) );
-#else
- return( screen->height );
-#endif
-
-}
-#endif
-
void screen_access_init(void)
{
screen_init(&screens[0], SCREEN_MAIN);