summaryrefslogtreecommitdiffstats
path: root/modules/menu/inc/menu_gui.h
blob: 4269cdccf50e9bea4a7c7cac7d19df87d4a29d6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/******************************************************************************
 *	Copyright (C) 2015	Alejandro Colomar Andrés		      *
 ******************************************************************************/


/******************************************************************************
 ******* include guard ********************************************************
 ******************************************************************************/
# ifndef		MSW_MENU_GUI_H
	# define	MSW_MENU_GUI_H


/******************************************************************************
 ******* headers **************************************************************
 ******************************************************************************/
		/* GtkWidget */
	#include <gtk/gtk.h>


/******************************************************************************
 ******* macros ***************************************************************
 ******************************************************************************/
	# define	ROWS_GUI_MAX	(22)
#if (ROWS_GUI_MAX > ROWS_MAX)
#	error	"rows max (gui)"
#endif

	# define	COLS_GUI_MAX	(33)
#if (COLS_GUI_MAX > COLS_MAX)
#	error	"cols max (gui)"
#endif


/******************************************************************************
 ******* variables ************************************************************
 ******************************************************************************/
extern	GtkWidget	*window_gui;


/******************************************************************************
 ******* functions ************************************************************
 ******************************************************************************/
	void	menu_gui_init		(void);
	void	menu_gui_cleanup	(void);
	void	menu_gui		(void);


/******************************************************************************
 ******* include guard ********************************************************
 ******************************************************************************/
# endif			/* menu_gui.h */


/******************************************************************************
 ******* end of file **********************************************************
 ******************************************************************************/