1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-02-23 23:07:43 +01:00
bygfoot/src/treeview.h

251 lines
5.7 KiB
C
Raw Normal View History

2005-10-20 15:45:00 +00:00
/*
2005-11-26 16:52:51 +00:00
treeview.h
2005-10-20 15:45:00 +00:00
Bygfoot Football Manager -- a small and simple GTK2-based
football management game.
http://bygfoot.sourceforge.net
Copyright (C) 2005 Gyözö Both (gyboth@bygfoot.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
2004-12-23 12:58:39 +00:00
#ifndef TREEVIEW_H
#define TREEVIEW_H
#include "bygfoot.h"
2005-04-13 13:01:59 +00:00
#include "league_struct.h"
2005-01-09 20:21:22 +00:00
#include "live_game_struct.h"
#include "player_struct.h"
#include "user_struct.h"
2005-03-20 20:49:55 +00:00
#include "table_struct.h"
2004-12-23 12:58:39 +00:00
GtkTreeModel*
treeview_create_team_selection_list(gboolean show_cup_teams,
gboolean show_user_teams);
2004-12-23 12:58:39 +00:00
void
treeview_set_up_team_selection_treeview (GtkTreeView *treeview);
void
treeview_show_team_list(GtkTreeView *treeview, gboolean show_cup_teams,
gboolean show_user_teams);
2004-12-23 12:58:39 +00:00
2005-01-09 20:21:22 +00:00
GtkTreeModel*
2005-06-11 16:54:59 +00:00
treeview_create_player_list(GPtrArray *players, gint *attributes, gint max,
gboolean show_separator, gboolean sortable, gboolean status);
2005-01-09 20:21:22 +00:00
void
2005-06-11 16:54:59 +00:00
treeview_set_up_player_list (GtkTreeView *treeview, gint *attributes, gint max,
gboolean show_separator, gboolean sortable);
2005-01-09 20:21:22 +00:00
void
treeview_show_player_list(GtkTreeView *treeview, GPtrArray *players, PlayerListAttribute attribute,
gboolean show_separator);
void
2005-03-24 20:22:44 +00:00
treeview_show_user_player_list(void);
2005-01-09 20:21:22 +00:00
void
treeview_live_game_show_commentary(const LiveGameUnit *unit);
void
treeview_live_game_show_initial_commentary(const LiveGameUnit *unit);
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);
void
2005-03-27 17:59:57 +00:00
treeview_show_users(GtkTreeView *treeview);
GtkTreeModel*
2005-03-27 17:59:57 +00:00
treeview_create_users(void);
void
2005-03-27 17:59:57 +00:00
treeview_set_up_users(GtkTreeView *treeview);
2005-03-10 20:59:39 +00:00
GtkTreeModel*
treeview_create_game_stats(LiveGame *live_game);
void
treeview_show_game_stats(GtkTreeView *treeview, LiveGame *live_game);
void
treeview_set_up_game_stats(GtkTreeView *treeview);
2005-03-14 17:47:27 +00:00
void
treeview_show_fixtures(GtkTreeView *treeview, gint clid,
gint week_number, gint week_round_number);
void
treeview_set_up_fixtures(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_fixtures(gint clid, gint week_number, gint week_round_number);
void
2005-03-27 17:59:57 +00:00
treeview_create_fixtures_header(const Fixture *fix, GtkListStore *liststore, gboolean blank_line);
2005-03-14 17:47:27 +00:00
void
treeview_create_fixture(const Fixture *fix, GtkListStore *liststore);
void
treeview_show_table(GtkTreeView *treeview, gint clid);
void
treeview_set_up_table(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_table(gint clid);
void
treeview_create_single_table(GtkListStore *liststore, const Table *table, gint table_index);
void
treeview_table_write_header(GtkListStore *ls, const Table *table, gint table_index);
2005-03-16 20:48:25 +00:00
void
treeview_show_finances(GtkTreeView *treeview, const User* user);
void
treeview_set_up_finances(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_finances(const User *user);
2005-03-16 20:48:25 +00:00
2005-03-18 22:03:23 +00:00
void
treeview_show_player_list_team(GtkTreeView *treeview, const Team *tm, gint scout);
2005-03-19 20:04:08 +00:00
void
treeview_show_transfer_list(GtkTreeView *treeview);
2005-03-21 12:39:05 +00:00
void
2005-03-25 20:18:35 +00:00
treeview_show_next_opponent(void);
2005-03-21 12:39:05 +00:00
void
treeview_set_up_next_opponent(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_next_opponent(void);
2005-03-24 20:22:44 +00:00
void
treeview_show_league_results(GtkTreeView *treeview);
void
treeview_set_up_league_results(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_league_results(void);
2005-03-25 10:54:54 +00:00
void
treeview_create_next_opponent_values(GtkListStore *liststore, const Fixture *fix);
2005-03-27 17:59:57 +00:00
void
2005-05-09 17:06:11 +00:00
treeview_show_all_players(gint clid);
2005-03-27 17:59:57 +00:00
GtkTreeModel*
treeview_create_preview(void);
void
treeview_show_preview(void);
2005-04-07 16:44:33 +00:00
void
treeview_show_player_info(const Player *pl);
void
treeview_set_up_player_info(GtkTreeView *treeview);
GtkTreeModel*
treeview_create_player_info(const Player *pl);
2005-04-09 19:18:28 +00:00
void
treeview_create_stadium_summary(GtkListStore *liststore);
void
treeview_show_fixtures_week(gint week_number, gint week_round_number);
2005-04-16 07:46:04 +00:00
GtkTreeModel*
treeview_create_fixtures_week(gint week_number, gint week_round_number);
void
2005-04-16 07:46:04 +00:00
treeview_show_user_history(void);
void
treeview_set_up_user_history(GtkTreeView *treeview);
GtkTreeModel*
2005-04-16 07:46:04 +00:00
treeview_create_user_history(void);
2005-04-29 19:48:02 +00:00
void
treeview_show_league_stats(gint clid);
void
treeview_set_up_league_stats(GtkTreeView *treeview);
void
2005-05-02 14:39:30 +00:00
treeview_create_league_stats(GtkListStore *ls, const LeagueStat *league_stat);
void
treeview_show_season_history(gint page, gint idx);
2005-05-02 14:39:30 +00:00
void
treeview_create_season_history_champions(GtkListStore *ls, const GArray* league_champs,
const GArray *cup_champs);
2005-04-29 19:48:02 +00:00
2005-05-07 14:19:52 +00:00
GtkTreeModel*
treeview_create_country_list(const GPtrArray *country_list);
2005-05-22 13:33:24 +00:00
void
2006-02-15 12:03:48 +00:00
treeview_show_contributors(GtkTreeView *treeview);
2005-05-22 13:33:24 +00:00
2005-06-11 16:54:59 +00:00
GtkTreeModel*
treeview_create_league_list(void);
void
treeview_show_leagues_combo(void);
2005-06-14 15:27:44 +00:00
void
treeview_show_language_combo(void);
2005-06-20 12:46:57 +00:00
GtkTreeModel*
treeview_create_sponsors(const GArray *sponsors);
void
treeview_set_up_sponsors(GtkTreeView *treeview);
void
treeview_show_sponsors(const GArray *sponsors);
2008-05-03 15:03:30 +00:00
GtkTreeModel*
treeview_create_training_hotel_list(void);
void
treeview_show_training_hotels_combo(void);
2004-12-23 12:58:39 +00:00
#endif