Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/include/gui_main_g.h Source File

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
22#include "gui_proto_constructor.h"
23
24 GUI_FUNC_PROTO(void, ui_init, void)
25 GUI_FUNC_PROTO(int, ui_main, int argc, char *argv[])
26 GUI_FUNC_PROTO(void, ui_exit, void)
27 GUI_FUNC_PROTO(void, options_extra_init, void)
28
29 GUI_FUNC_PROTO(void, real_conn_list_dialog_update, void*)
30 GUI_FUNC_PROTO(void, sound_bell, void)
31 GUI_FUNC_PROTO(void, add_net_input, int)
32 GUI_FUNC_PROTO(void, remove_net_input, void)
33
34 GUI_FUNC_PROTO(void, set_unit_icon, int idx, struct unit *punit)
35 GUI_FUNC_PROTO(void, set_unit_icons_more_arrow, bool onoff)
36 GUI_FUNC_PROTO(void, real_focus_units_changed, void)
37
38 GUI_FUNC_PROTO(void, add_idle_callback, void (callback)(void *), void *data)
39
40 GUI_FUNC_PROTO(enum gui_type, get_gui_type, void)
41 GUI_FUNC_PROTO(void, insert_client_build_info, char *outbuf, size_t outlen)
42
43 GUI_FUNC_PROTO(void, gui_update_font, const char *font_name,
44 const char *font_value)
45
46 extern const char *client_string;
47
48/* Actually defined in update_queue.c */
49void conn_list_dialog_update(void);
50
51#endif /* FC__GUI_MAIN_G_H */
incite_cost
char * incite_cost
Definition comments.c:74
punit
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
fc_types.h
ui_main
int ui_main(int argc, char **argv)
Definition gui_main.c:1909
real_focus_units_changed
void real_focus_units_changed(void)
Definition gui_main.c:2171
set_unit_icons_more_arrow
void set_unit_icons_more_arrow(bool onoff)
Definition gui_main.c:2148
set_unit_icon
void set_unit_icon(int idx, struct unit *punit)
Definition gui_main.c:2118
ui_exit
void ui_exit(void)
Definition gui_main.c:2088
get_gui_type
enum gui_type get_gui_type(void)
Definition gui_main.c:2099
ui_init
void ui_init(void)
Definition gui_main.c:1777
add_idle_callback
void add_idle_callback(void(callback)(void *), void *data)
Definition gui_main.c:2427
options_extra_init
void options_extra_init(void)
Definition gui_main.c:2501
insert_client_build_info
void insert_client_build_info(char *outbuf, size_t outlen)
Definition gui_main.c:2561
remove_net_input
void remove_net_input(void)
Definition gui_main.c:2333
sound_bell
void sound_bell(void)
Definition gui_main.c:2107
add_net_input
void add_net_input(int sock)
Definition gui_main.c:2315
real_conn_list_dialog_update
void real_conn_list_dialog_update(void *unused)
Definition pages.c:2328
conn_list_dialog_update
void conn_list_dialog_update(void)
Definition update_queue.c:650
font_name
const char * font_name
Definition gui_main_g.h:43
client_string
const char const char *font_value const char * client_string
Definition gui_main.c:105
gui_update_font
gui_update_font
Definition gui_main_g.h:43
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
callback
Definition gui_main.c:2404
unit
Definition unit.h:138
support.h