Freeciv-3.3
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
49
50/* Actually defined in update_queue.c */
52
53#endif /* FC__GUI_MAIN_G_H */
char * incite_cost
Definition comments.c:76
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:1888
void real_focus_units_changed(void)
Definition gui_main.c:2150
void set_unit_icons_more_arrow(bool onoff)
Definition gui_main.c:2127
void set_unit_icon(int idx, struct unit *punit)
Definition gui_main.c:2097
void ui_exit(void)
Definition gui_main.c:2067
enum gui_type get_gui_type(void)
Definition gui_main.c:2078
void ui_init(void)
Definition gui_main.c:1756
void add_idle_callback(void(callback)(void *), void *data)
Definition gui_main.c:2406
void options_extra_init(void)
Definition gui_main.c:2480
void setup_gui_properties(void)
Definition gui_main.c:2650
void insert_client_build_info(char *outbuf, size_t outlen)
Definition gui_main.c:2540
void remove_net_input(void)
Definition gui_main.c:2312
void sound_bell(void)
Definition gui_main.c:2086
void add_net_input(int sock)
Definition gui_main.c:2294
void real_conn_list_dialog_update(void *unused)
Definition pages.c:2344
const char * client_string
Definition gui_main.c:106
void conn_list_dialog_update(void)
const char * font_name
Definition gui_main_g.h:43
gui_update_font
Definition gui_main_g.h:43
#define GUI_FUNC_PROTO(_type, _func,...)
Definition unit.h:140