diff options
Diffstat (limited to 'apps/gui/textarea.h')
-rw-r--r-- | apps/gui/textarea.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/textarea.h b/apps/gui/textarea.h index 765add084a..3f16dd440c 100644 --- a/apps/gui/textarea.h +++ b/apps/gui/textarea.h | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | struct text_message | 26 | struct text_message |
27 | { | 27 | { |
28 | char **message_lines; | 28 | const char **message_lines; |
29 | int nb_lines; | 29 | int nb_lines; |
30 | }; | 30 | }; |
31 | 31 | ||
@@ -50,7 +50,7 @@ extern void gui_textarea_update(struct screen * display); | |||
50 | * returns : the number of lines effectively displayed | 50 | * returns : the number of lines effectively displayed |
51 | */ | 51 | */ |
52 | extern int gui_textarea_put_message(struct screen * display, | 52 | extern int gui_textarea_put_message(struct screen * display, |
53 | struct text_message * message, | 53 | const struct text_message * message, |
54 | int ystart); | 54 | int ystart); |
55 | /* | 55 | /* |
56 | * Compute the number of text lines the display can draw with the current font | 56 | * Compute the number of text lines the display can draw with the current font |
@@ -63,7 +63,7 @@ extern void gui_textarea_update_nblines(struct screen * display); | |||
63 | * Speak a text_message. The message's lines may be virtual pointers | 63 | * Speak a text_message. The message's lines may be virtual pointers |
64 | * representing language / voicefont IDs (see settings.h). | 64 | * representing language / voicefont IDs (see settings.h). |
65 | */ | 65 | */ |
66 | extern void talk_text_message(struct text_message * message, bool enqueue); | 66 | extern void talk_text_message(const struct text_message * message, bool enqueue); |
67 | 67 | ||
68 | #ifdef HAVE_LCD_BITMAP | 68 | #ifdef HAVE_LCD_BITMAP |
69 | /* | 69 | /* |