summaryrefslogtreecommitdiffstats
path: root/apps/gui/yesno.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-05-29 11:13:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-05-29 11:13:46 +0000
commit0501fb016c4d88d3430a34ecc55a003e062b5f63 (patch)
tree272d3d3c33190c499d2ee4507f23cf532c85e46e /apps/gui/yesno.h
parent43f0770943a3315561dbdcdb2bbb85b7026248b1 (diff)
downloadrockbox-0501fb016c4d88d3430a34ecc55a003e062b5f63.tar.gz
rockbox-0501fb016c4d88d3430a34ecc55a003e062b5f63.tar.bz2
rockbox-0501fb016c4d88d3430a34ecc55a003e062b5f63.zip
total removal of gui_textarea. The only thing using the text_message struct is the yesno screen so move its definition to yesno.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17653 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/yesno.h')
-rw-r--r--apps/gui/yesno.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/gui/yesno.h b/apps/gui/yesno.h
index 9af64a7aad..fbccb5d8cc 100644
--- a/apps/gui/yesno.h
+++ b/apps/gui/yesno.h
@@ -21,7 +21,6 @@
#define _GUI_YESNO_H_
#include "screen_access.h"
-#include "textarea.h"
enum yesno_res
{
@@ -30,6 +29,12 @@ enum yesno_res
YESNO_USB
};
+struct text_message
+{
+ const char **message_lines;
+ int nb_lines;
+};
+
/*
* Runs the yesno asker :
* it will display the 'main_message' question, and wait for user keypress