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-03 13:46:48 +01:00
|
|
|
WINDOW_STARTUP_USERS,
|
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-03-25 11:54:54 +01:00
|
|
|
WINDOW_CONTRACT,
|
2005-01-09 21:21:22 +01:00
|
|
|
WINDOW_END
|
|
|
|
};
|
|
|
|
|
2004-12-23 13:58:39 +01:00
|
|
|
void
|
|
|
|
window_show_startup(void);
|
|
|
|
|
2004-12-30 17:48:19 +01:00
|
|
|
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);
|
|
|
|
|
|
|
|
void
|
|
|
|
window_show_stadium(void);
|
|
|
|
|
2005-03-20 21:49:55 +01:00
|
|
|
void
|
|
|
|
window_show_yesno(gchar *text, gboolean checkbutton);
|
|
|
|
|
2005-03-23 20:03:26 +01:00
|
|
|
void
|
|
|
|
window_show_options(void);
|
|
|
|
|
2004-12-23 13:58:39 +01:00
|
|
|
#endif
|