summaryrefslogtreecommitdiffstats
path: root/apps/gui/yesno.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-03-15 00:29:59 +0000
committerNils Wallménius <nils@rockbox.org>2007-03-15 00:29:59 +0000
commite6a8d2186c3f946e586772a111be280856bbcf1b (patch)
tree7b3106ee82a74f6d109d20e330d8c0f5b93837af /apps/gui/yesno.h
parent5b5162547cc1e33abc27a5d815d17f8262250a41 (diff)
downloadrockbox-e6a8d2186c3f946e586772a111be280856bbcf1b.tar.gz
rockbox-e6a8d2186c3f946e586772a111be280856bbcf1b.tar.bz2
rockbox-e6a8d2186c3f946e586772a111be280856bbcf1b.zip
Make a couple of private functions 'static'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12770 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/yesno.h')
-rw-r--r--apps/gui/yesno.h54
1 files changed, 19 insertions, 35 deletions
diff --git a/apps/gui/yesno.h b/apps/gui/yesno.h
index 7b60cab132..67456cf69b 100644
--- a/apps/gui/yesno.h
+++ b/apps/gui/yesno.h
@@ -1,3 +1,22 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id $
+ *
+ * Copyright (C) 2005 by Kevin Ferrare
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
#ifndef _GUI_YESNO_H_
#define _GUI_YESNO_H_
@@ -20,41 +39,6 @@ struct gui_yesno
};
/*
- * Initializes the yesno asker
- * - yn : the yesno structure
- * - main_message : the question the user has to answer
- * - yes_message : message displayed if answer is 'yes'
- * - no_message : message displayed if answer is 'no'
- */
-extern void gui_yesno_init(struct gui_yesno * yn,
- struct text_message * main_message,
- struct text_message * yes_message,
- struct text_message * no_message);
-
-/*
- * Attach the yesno to a screen
- * - yn : the yesno structure
- * - display : the screen to attach
- */
-extern void gui_yesno_set_display(struct gui_yesno * yn,
- struct screen * display);
-
-/*
- * Draws the yesno
- * - yn : the yesno structure
- */
-extern void gui_yesno_draw(struct gui_yesno * yn);
-
-/*
- * Draws the yesno result
- * - yn : the yesno structure
- * - result : the result tha must be displayed :
- * YESNO_NO if no
- * YESNO_YES if yes
- */
-extern bool gui_yesno_draw_result(struct gui_yesno * yn, enum yesno_res result);
-
-/*
* Runs the yesno asker :
* it will display the 'main_message' question, and wait for user keypress
* PLAY means yes, other keys means no