1 /*  MikMod module player
2 	(c) 1998 - 2000 Miodrag Vallat and others - see file AUTHORS for
3 	complete list.
4 
5 	This program is free software; you can redistribute it and/or modify
6 	it under the terms of the GNU General Public License as published by
7 	the Free Software Foundation; either version 2 of the License, or
8 	(at your option) any later version.
9 
10 	This program is distributed in the hope that it will be useful,
11 	but WITHOUT ANY WARRANTY; without even the implied warranty of
12 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 	GNU General Public License for more details.
14 
15 	You should have received a copy of the GNU General Public License
16 	along with this program; if not, write to the Free Software
17 	Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 	02111-1307, USA.
19 */
20 
21 /*==============================================================================
22 
23   $Id: display.h,v 1.1.1.1 2004/01/16 02:07:35 raph Exp $
24 
25   Common display definitions, curses-related
26 
27 ==============================================================================*/
28 
29 #ifndef DISPLAY_H
30 #define DISPLAY_H
31 
32 /*========== Core definitions */
33 
34 /* maximum screen width we handle */
35 #define MAXWIDTH			200
36 
37 /*========== Panel definitions */
38 
39 #define DISPLAY_ROOT    	0
40 #define DISPLAY_HELP    	1
41 #define DISPLAY_SAMPLE  	2
42 #define DISPLAY_INST    	3
43 #define DISPLAY_MESSAGE 	4
44 #define DISPLAY_LIST    	5
45 #define DISPLAY_CONFIG  	6
46 #if LIBMIKMOD_VERSION >= 0x030200
47 #define DISPLAY_VOLBARS 	7
48 
49 #define DISPLAY_COUNT   	8
50 #else
51 #define DISPLAY_COUNT   	7
52 #endif
53 
54 /*========== Routines */
55 
56 typedef enum {
57 	COM_NONE,
58 	MENU_ACTIVATE
59 } COMMAND;
60 
61 void display_message(char *str);
62 
63 void display_status(void);
64 int display_header(void);
65 
66 void display_start(void);
67 
68 void display_extractbanner(void);
69 void display_loadbanner(void);
70 void display_pausebanner(void);
71 
72 void display_init(void);
73 
74 #endif /* DISPLAY_H */
75 
76 /* ex:set ts=4: */
77