bygfoot/src/window.h

55 lines
892 B
C
Raw Normal View History

2004-12-23 13:58:39 +01:00
#ifndef WINDOW_H
#define WINDOW_H
#include "bygfoot.h"
2005-01-09 21:21:22 +01:00
/** These are used to keep track of open windows.
@see window_create() */
enum Windows
{
WINDOW_MAIN = 0,
WINDOW_STARTUP,
WINDOW_LIVE,
2005-03-08 09:25:46 +01:00
WINDOW_WARNING,
2005-03-10 21:59:39 +01:00
WINDOW_PROGRESS,
2005-03-17 21:26:01 +01:00
WINDOW_DIGITS,
WINDOW_STADIUM,
2005-03-18 23:03:23 +01:00
WINDOW_JOB_OFFER,
2005-03-20 21:49:55 +01:00
WINDOW_YESNO,
2005-03-23 20:03:26 +01:00
WINDOW_OPTIONS,
2005-03-24 14:00:01 +01:00
WINDOW_FONT_SEL,
2005-04-04 12:36:04 +02:00
WINDOW_FILE_SEL,
2005-03-25 11:54:54 +01:00
WINDOW_CONTRACT,
2005-03-27 19:59:57 +02:00
WINDOW_USER_MANAGEMENT,
2005-01-09 21:21:22 +01:00
WINDOW_END
};
2004-12-23 13:58:39 +01:00
void
window_show_startup(void);
GtkWidget*
window_create(gint window_type);
2004-12-23 13:58:39 +01:00
2005-01-09 21:21:22 +01:00
void
2005-03-08 09:25:46 +01:00
window_destroy(GtkWidget **wind, gboolean count_popups);
2005-01-09 21:21:22 +01:00
2005-03-17 21:26:01 +01:00
void
window_show_digits(gchar *text_main, gchar* text1, gint value1, gchar* text2, gint value2);
2005-04-04 12:36:04 +02:00
void
window_show_file_sel(void);
2005-03-17 21:26:01 +01:00
void
window_show_stadium(void);
2005-03-20 21:49:55 +01:00
void
2005-04-07 18:44:33 +02:00
window_show_yesno(gchar *text);
2005-03-20 21:49:55 +01:00
2005-03-23 20:03:26 +01:00
void
window_show_options(void);
2005-03-27 19:59:57 +02:00
void
window_show_menu_player(GdkEvent *event);
2004-12-23 13:58:39 +01:00
#endif