diff options
author | Stéphane Doyon <s.doyon@videotron.ca> | 2007-11-07 01:37:00 +0000 |
---|---|---|
committer | Stéphane Doyon <s.doyon@videotron.ca> | 2007-11-07 01:37:00 +0000 |
commit | 6f4c6ed99007f89099b74bfbb95f5ca58b0ead3c (patch) | |
tree | f524bf0c6e865b3be8fee11da4210fd7666a8798 /apps/gui/textarea.h | |
parent | fbdc0e6b57f326fccefaf044bd70f1072653db00 (diff) | |
download | rockbox-6f4c6ed99007f89099b74bfbb95f5ca58b0ead3c.tar.gz rockbox-6f4c6ed99007f89099b74bfbb95f5ca58b0ead3c.zip |
Straighten out voicing of yesno dialogs.
Make it so gui_syncyesno_run() does not modify the text_messages passed
as argument, simplify the code and even reduce size a bit.
The key is to support voicing at the level of the text_message itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15505 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/textarea.h')
-rw-r--r-- | apps/gui/textarea.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/textarea.h b/apps/gui/textarea.h index 413169db24..765add084a 100644 --- a/apps/gui/textarea.h +++ b/apps/gui/textarea.h | |||
@@ -59,6 +59,12 @@ extern int gui_textarea_put_message(struct screen * display, | |||
59 | */ | 59 | */ |
60 | extern void gui_textarea_update_nblines(struct screen * display); | 60 | extern void gui_textarea_update_nblines(struct screen * display); |
61 | 61 | ||
62 | /* | ||
63 | * Speak a text_message. The message's lines may be virtual pointers | ||
64 | * representing language / voicefont IDs (see settings.h). | ||
65 | */ | ||
66 | extern void talk_text_message(struct text_message * message, bool enqueue); | ||
67 | |||
62 | #ifdef HAVE_LCD_BITMAP | 68 | #ifdef HAVE_LCD_BITMAP |
63 | /* | 69 | /* |
64 | * Compute the number of pixels from which text can be displayed | 70 | * Compute the number of pixels from which text can be displayed |