diff options
Diffstat (limited to 'apps/gui/textarea.c')
-rw-r--r-- | apps/gui/textarea.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/gui/textarea.c b/apps/gui/textarea.c index d8e730fdc2..d73f20d0e7 100644 --- a/apps/gui/textarea.c +++ b/apps/gui/textarea.c | |||
@@ -41,6 +41,18 @@ void gui_textarea_update(struct screen * display) | |||
41 | } | 41 | } |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | int gui_textarea_put_message(struct screen * display, | ||
45 | struct text_message * message, | ||
46 | int ystart) | ||
47 | { | ||
48 | int i; | ||
49 | gui_textarea_clear(display); | ||
50 | for(i=0;i<message->nb_lines && i+ystart<display->nb_lines;i++) | ||
51 | display->puts(0, i+ystart, message->message_lines[i]); | ||
52 | gui_textarea_update(display); | ||
53 | return(i); | ||
54 | } | ||
55 | |||
44 | void gui_textarea_update_nblines(struct screen * display) | 56 | void gui_textarea_update_nblines(struct screen * display) |
45 | { | 57 | { |
46 | #ifdef HAVE_LCD_BITMAP | 58 | #ifdef HAVE_LCD_BITMAP |