2005-01-24 19:01:55 +01:00
|
|
|
#ifndef GAME_GUI_H
|
|
|
|
#define GAME_GUI_H
|
|
|
|
|
|
|
|
#include "bygfoot.h"
|
2005-03-03 13:46:48 +01:00
|
|
|
#include "live_game_struct.h"
|
2005-01-24 19:01:55 +01:00
|
|
|
|
2005-04-07 18:44:33 +02:00
|
|
|
#define setsav1 gtk_widget_set_sensitive(lookup_widget(window.main, "button_save"), FALSE)
|
|
|
|
#define setsav0 gtk_widget_set_sensitive(lookup_widget(window.main, "button_save"), TRUE)
|
|
|
|
#define getsav GTK_WIDGET_SENSITIVE(lookup_widget(window.main, "button_save"))
|
|
|
|
|
2005-01-24 19:01:55 +01:00
|
|
|
void
|
|
|
|
game_gui_live_game_show_unit(const LiveGameUnit *unit);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_live_game_set_hscale(const LiveGameUnit *unit, GtkHScale *hscale);
|
|
|
|
|
2005-03-03 13:46:48 +01:00
|
|
|
void
|
|
|
|
game_gui_set_main_window_header(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_show_main(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_get_radio_items(GtkWidget **style, GtkWidget **scout,
|
2005-03-09 14:10:28 +01:00
|
|
|
GtkWidget **physio, GtkWidget **boost);
|
2005-03-03 13:46:48 +01:00
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_print_message(gchar *text);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_read_radio_items(GtkWidget *widget);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_write_radio_items(void);
|
|
|
|
|
|
|
|
gboolean
|
|
|
|
game_gui_clear_entry_message(gpointer data);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_set_main_window_sensitivity(gboolean value);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_write_av_skills(void);
|
|
|
|
|
2005-03-08 09:25:46 +01:00
|
|
|
void
|
|
|
|
game_gui_show_warning(gchar *text);
|
|
|
|
|
2005-03-11 18:18:51 +01:00
|
|
|
void
|
|
|
|
game_gui_write_meters(void);
|
|
|
|
|
2005-03-18 23:03:23 +01:00
|
|
|
void
|
|
|
|
game_gui_show_job_offer(Team *team, gint type);
|
|
|
|
|
2005-03-24 14:00:01 +01:00
|
|
|
void
|
|
|
|
game_gui_write_check_items(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
game_gui_read_check_items(GtkWidget *widget);
|
|
|
|
|
2005-01-24 19:01:55 +01:00
|
|
|
#endif
|