2004-12-23 13:58:39 +01:00
|
|
|
#ifndef TREEVIEW_H
|
|
|
|
#define TREEVIEW_H
|
|
|
|
|
|
|
|
#include "bygfoot.h"
|
2005-01-09 21:21:22 +01:00
|
|
|
#include "live_game_struct.h"
|
|
|
|
#include "player_struct.h"
|
2005-03-03 13:46:48 +01:00
|
|
|
#include "user_struct.h"
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_select_row(GtkTreeView *treeview, GdkEventButton *event);
|
2004-12-30 17:48:19 +01:00
|
|
|
|
2005-01-12 21:49:24 +01:00
|
|
|
GdkPixbuf*
|
|
|
|
treeview_pixbuf_from_filename(gchar *filename);
|
|
|
|
|
|
|
|
gchar*
|
|
|
|
treeview_live_game_icon(gint event_type);
|
|
|
|
|
2004-12-30 17:48:19 +01:00
|
|
|
gint
|
|
|
|
treeview_get_index(GtkTreeView *treeview, gint column);
|
2004-12-23 13:58:39 +01:00
|
|
|
|
2005-01-09 21:21:22 +01:00
|
|
|
gpointer
|
|
|
|
treeview_get_pointer(GtkTreeView *treeview, gint column);
|
|
|
|
|
2004-12-23 13:58:39 +01:00
|
|
|
void
|
|
|
|
treeview_clear(GtkTreeView *treeview);
|
|
|
|
|
2005-01-09 21:21:22 +01:00
|
|
|
gint
|
|
|
|
treeview_get_col_number_column (GtkTreeViewColumn *col);
|
|
|
|
|
2004-12-23 13:58:39 +01:00
|
|
|
GtkTreeModel*
|
2005-03-03 13:46:48 +01:00
|
|
|
treeview_create_team_selection_list(gboolean show_cup_teams,
|
|
|
|
gboolean show_user_teams);
|
2004-12-23 13:58:39 +01:00
|
|
|
|
|
|
|
void
|
|
|
|
treeview_set_up_team_selection_treeview (GtkTreeView *treeview);
|
|
|
|
|
|
|
|
void
|
2005-03-03 13:46:48 +01:00
|
|
|
treeview_show_team_list(GtkTreeView *treeview, gboolean show_cup_teams,
|
|
|
|
gboolean show_user_teams);
|
2004-12-23 13:58:39 +01:00
|
|
|
|
2005-01-09 21:21:22 +01:00
|
|
|
GtkTreeModel*
|
|
|
|
treeview_create_player_list(GPtrArray *players, gint *attributes, gint max, gboolean show_separator);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_set_up_player_list (GtkTreeView *treeview, gint *attributes, gint max);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_show_player_list(GtkTreeView *treeview, GPtrArray *players, PlayerListAttribute attribute,
|
|
|
|
gboolean show_separator);
|
|
|
|
|
|
|
|
void
|
2005-03-03 13:46:48 +01:00
|
|
|
treeview_show_user_player_list(const User *user, gint player_list);
|
2005-01-09 21:21:22 +01:00
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_show_commentary(const LiveGameUnit *unit);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_show_initial_commentary(const LiveGameUnit *unit);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_show_teams(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_set_up_commentary(void);
|
|
|
|
|
|
|
|
GtkTreeModel*
|
|
|
|
treeview_live_game_create_init_commentary(const LiveGameUnit *unit);
|
|
|
|
|
|
|
|
GtkTreeModel*
|
|
|
|
treeview_live_game_create_result(const LiveGameUnit *unit);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_set_up_result(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_live_game_show_result(const LiveGameUnit *unit);
|
|
|
|
|
2005-03-03 13:46:48 +01:00
|
|
|
void
|
|
|
|
treeview_show_users_startup(void);
|
|
|
|
|
|
|
|
GtkTreeModel*
|
|
|
|
treeview_create_users_startup(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
treeview_set_up_users_startup(GtkTreeView *treeview);
|
|
|
|
|
2004-12-23 13:58:39 +01:00
|
|
|
#endif
|