1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Stéphane Doyon 2007-11-07 01:37:00 +00:00
parent fbdc0e6b57
commit 6f4c6ed990
3 changed files with 28 additions and 32 deletions

View file

@ -59,6 +59,12 @@ extern int gui_textarea_put_message(struct screen * display,
*/
extern void gui_textarea_update_nblines(struct screen * display);
/*
* Speak a text_message. The message's lines may be virtual pointers
* representing language / voicefont IDs (see settings.h).
*/
extern void talk_text_message(struct text_message * message, bool enqueue);
#ifdef HAVE_LCD_BITMAP
/*
* Compute the number of pixels from which text can be displayed