1 /*
2  * Schism Tracker - a cross-platform Impulse Tracker clone
3  * copyright (c) 2003-2005 Storlek <storlek@rigelseven.com>
4  * copyright (c) 2005-2008 Mrs. Brisby <mrs.brisby@nimh.org>
5  * copyright (c) 2009 Storlek & Mrs. Brisby
6  * copyright (c) 2010-2012 Storlek
7  * URL: http://schismtracker.org/
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23 
24 #include "headers.h"
25 
26 #include "it.h"
27 #include "page.h"
28 
29 #include "sdlmain.h"
30 
31 /* --------------------------------------------------------------------- */
32 
33 static struct widget widgets_blank[1];
34 
35 /* --------------------------------------------------------------------- */
36 
37 static int blank_page_handle_key(UNUSED struct key_event * k)
38 {
39 	return 0;
40 }
41 
42 static void blank_page_redraw(void)
43 {
44 }
45 
46 /* --------------------------------------------------------------------- */
47 
48 void blank_load_page(struct page *page)
49 {
50 	page->title = "";
51 	page->total_widgets = 1;
52 	page->widgets = widgets_blank;
53 	page->help_index = HELP_GLOBAL;
54 
55 	create_other(widgets_blank + 0, 0, blank_page_handle_key, blank_page_redraw);
56 }
57