bygfoot/src/gui.h

59 lines
1.4 KiB
C
Raw Permalink Normal View History

2005-10-20 17:45:00 +02:00
/*
2005-11-26 17:52:51 +01:00
gui.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 GUI_H
#define GUI_H
#include "bygfoot.h"
2005-11-02 22:04:19 +01:00
/** What kind of pictures we on top of the progress bar. */
enum PicType
{
PIC_TYPE_NONE = 0,
PIC_TYPE_SAVE,
PIC_TYPE_LOAD,
PIC_TYPE_MATCHPIC
};
void
gui_label_set_text_from_int(GtkLabel *label, gint number, gboolean append);
2005-03-10 21:59:39 +01:00
void
2005-11-02 22:04:19 +01:00
gui_show_progress(gfloat value, const gchar *text, gint pictype);
2005-03-10 21:59:39 +01:00
2009-01-09 15:32:34 +01:00
gdouble
gui_get_progress_bar_fraction(void);
2005-04-10 14:32:44 +02:00
void
gui_set_arrow_pair(gint pair, gboolean state);
void
gui_set_arrows(void);
2005-09-29 11:03:43 +02:00
void
gui_set_sensitive_lg_meters(gboolean state);
2004-12-23 13:58:39 +01:00
#endif