bygfoot/src/window.h

144 lines
2.7 KiB
C
Raw Normal View History

2005-10-20 17:45:00 +02:00
/*
2005-11-26 17:52:51 +01:00
window.h
2005-10-20 17:45:00 +02: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 13:58:39 +01:00
#ifndef WINDOW_H
#define WINDOW_H
#include "bygfoot.h"
#include "bygfoot_struct.h"
2004-12-23 13:58:39 +01:00
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,
2009-03-09 21:20:26 +01:00
WINDOW_CONSTANTS,
2005-03-24 14:00:01 +01:00
WINDOW_FONT_SEL,
2005-06-14 22:04:37 +02:00
WINDOW_FILE_CHOOSER,
2005-03-25 11:54:54 +01:00
WINDOW_CONTRACT,
2005-03-27 19:59:57 +02:00
WINDOW_USER_MANAGEMENT,
2005-05-13 20:20:47 +02:00
WINDOW_DEBUG,
2005-05-22 15:33:24 +02:00
WINDOW_HELP,
2005-05-30 17:54:20 +02:00
WINDOW_TRANSFER_DIALOG,
2005-06-20 14:46:57 +02:00
WINDOW_SPONSORS,
2005-08-20 21:39:36 +02:00
WINDOW_MMATCHES,
2005-10-27 23:10:15 +02:00
WINDOW_BETS,
2006-02-15 13:03:48 +01:00
WINDOW_SPLASH,
2007-01-18 18:41:24 +01:00
WINDOW_END,
2007-09-24 21:14:26 +02:00
WINDOW_TRAINING_CAMP,
WINDOW_NEWS,
2008-11-07 09:38:55 +01:00
WINDOW_ALR
2005-01-09 21:21:22 +01:00
};
2005-05-22 15:33:24 +02:00
void
window_show_help(gint page);
2004-12-23 13:58:39 +01:00
void
window_show_startup(Bygfoot *bygfoot);
2004-12-23 13:58:39 +01:00
GtkWidget*
window_create(gint window_type);
2004-12-23 13:58:39 +01:00
GtkWidget*
window_create_with_userdata(gint window_type, Bygfoot *bygfoot);
2005-01-09 21:21:22 +01:00
void
window_destroy(GtkWidget **wind);
2005-01-09 21:21:22 +01:00
2005-03-17 21:26:01 +01:00
void
2005-05-30 17:54:20 +02:00
window_show_digits(const gchar *text_main, const gchar* text1,
2008-11-08 13:46:12 +01:00
gint value1, const gchar* text2, gint value2, gboolean show_alr);
2005-03-17 21:26:01 +01:00
2005-04-04 12:36:04 +02:00
void
window_show_file_sel(Bygfoot *bygfoot);
2005-04-04 12:36:04 +02:00
2005-03-17 21:26:01 +01:00
void
window_show_stadium(void);
2005-03-20 21:49:55 +01:00
void
2005-05-30 17:54:20 +02:00
window_show_yesno(const 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);
2005-07-08 11:26:00 +02:00
void
window_show_menu_youth(GdkEvent *event);
2005-05-28 16:34:14 +02:00
void
2005-09-28 18:41:32 +02:00
window_live_set_up(void);
2005-05-28 16:34:14 +02:00
2005-05-30 17:54:20 +02:00
void
window_show_transfer_dialog(const gchar *text);
2005-08-20 21:39:36 +02:00
void
window_show_mmatches(Bygfoot *bygfoot);
2005-08-20 21:39:36 +02:00
void
window_main_save_geometry(void);
void
window_main_load_geometry(void);
2005-10-27 23:10:15 +02:00
void
window_show_bets(void);
2005-11-02 22:04:19 +01:00
void
window_show_progress(gint pictype);
2006-02-15 13:03:48 +01:00
void
window_show_splash(Bygfoot *bygfoot);
2006-02-15 13:03:48 +01:00
void
window_load_hint_number(void);
void
window_save_hint_number(void);
void
window_splash_show_hint(void);
2007-01-18 18:41:24 +01:00
void
2007-09-24 20:32:11 +02:00
window_show_training_camp(void);
2008-11-07 09:38:55 +01:00
void
window_show_alr(void);
2009-03-09 21:20:26 +01:00
void
window_show_constants(void);
2004-12-23 13:58:39 +01:00
#endif