summaryrefslogtreecommitdiff
path: root/apps/gui/textarea.h
diff options
context:
space:
mode:
authorStéphane Doyon <s.doyon@videotron.ca>2007-11-07 01:37:00 +0000
committerStéphane Doyon <s.doyon@videotron.ca>2007-11-07 01:37:00 +0000
commit6f4c6ed99007f89099b74bfbb95f5ca58b0ead3c (patch)
treef524bf0c6e865b3be8fee11da4210fd7666a8798 /apps/gui/textarea.h
parentfbdc0e6b57f326fccefaf044bd70f1072653db00 (diff)
downloadrockbox-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.h6
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 */
60extern void gui_textarea_update_nblines(struct screen * display); 60extern 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 */
66extern 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