Freeciv-3.2
Loading...
Searching...
No Matches
gui_main_g.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__GUI_MAIN_G_H
14#define FC__GUI_MAIN_G_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "fc_types.h"
21
23
24GUI_FUNC_PROTO(void, ui_init, void)
25GUI_FUNC_PROTO(int, ui_main, int argc, char *argv[])
26GUI_FUNC_PROTO(void, ui_exit, void)
28
30GUI_FUNC_PROTO(void, sound_bell, void)
33
34GUI_FUNC_PROTO(void, set_unit_icon, int idx, struct unit *punit)
37
38GUI_FUNC_PROTO(void, add_idle_callback, void (callback)(void *), void *data)
39
40GUI_FUNC_PROTO(enum gui_type, get_gui_type, void)
42
44 const char *font_value)
45
47
48/* Actually defined in update_queue.c */
50
51#endif /* FC__GUI_MAIN_G_H */
char * incite_cost
Definition comments.c:75
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
Definition dialogs_g.h:74
int ui_main(int argc, char **argv)
Definition gui_main.c:1887
void real_focus_units_changed(void)
Definition gui_main.c:2149
void set_unit_icons_more_arrow(bool onoff)
Definition gui_main.c:2126
void set_unit_icon(int idx, struct unit *punit)
Definition gui_main.c:2096
void ui_exit(void)
Definition gui_main.c:2066
enum gui_type get_gui_type(void)
Definition gui_main.c:2077
void ui_init(void)
Definition gui_main.c:1755
void add_idle_callback(void(callback)(void *), void *data)
Definition gui_main.c:2405
void options_extra_init(void)
Definition gui_main.c:2479
void insert_client_build_info(char *outbuf, size_t outlen)
Definition gui_main.c:2539
void remove_net_input(void)
Definition gui_main.c:2311
void sound_bell(void)
Definition gui_main.c:2085
void add_net_input(int sock)
Definition gui_main.c:2293
void real_conn_list_dialog_update(void *unused)
Definition pages.c:2344
void conn_list_dialog_update(void)
const char * font_name
Definition gui_main_g.h:43
const char const char *font_value const char * client_string
Definition gui_main.c:105
gui_update_font
Definition gui_main_g.h:43
#define GUI_FUNC_PROTO(_type, _func,...)
Definition unit.h:138