diff options
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r-- | apps/screen_access.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index d800c31489..c76d2b1c86 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -60,12 +60,12 @@ struct screen enum screen_type screen_type; int lcdwidth, lcdheight; int depth; - int nb_lines; + int (*getnblines)(void); #ifdef HAVE_LCD_BITMAP int pixel_format; #endif - int char_width; - int char_height; + int (*getcharwidth)(void); + int (*getcharheight)(void); bool is_color; #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) bool has_disk_led; @@ -166,11 +166,6 @@ void screen_clear_area(struct screen * display, int xstart, int ystart, #endif /* - * Initializes the whole screen_access api - */ -extern void screen_access_init(void); - -/* * exported screens array that should be used * by each app that wants to write to access display */ |