Crossfire Client, Trunk
main.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 1999-2013 Mark Wedel and the Crossfire Development Team
5  * Copyright (c) 1992 Frank Tore Johansen
6  *
7  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
8  * welcome to redistribute it under certain conditions. For details, please
9  * see COPYING and LICENSE.
10  *
11  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
12  */
13 
19 #ifndef MAIN_H
20 #define MAIN_H
21 
22 #define NUM_COLORS 13
23 extern GdkColor root_color[NUM_COLORS];
24 extern GtkWidget *window_root, *spinbutton_count;
25 extern GtkBuilder *dialog_xml, *window_xml;
26 
27 extern GtkNotebook *main_notebook;
28 
29 extern GtkWidget *magic_map;
30 extern GtkWidget *map_notebook;
31 extern GtkWidget *connect_window;
32 
33 #define DEFAULT_IMAGE_SIZE 32
35 
36 #define DEFAULT_UI CF_DATADIR "/ui/gtk-v2.ui"
37 #define DIALOG_FILENAME CF_DATADIR "/ui/dialogs.ui"
38 
40 extern char window_xml_file[MAX_BUF];
41 
42 #define MAGIC_MAP_PAGE 1
44 extern char account_password[256];
45 /* gtk2proto.h depends on this - so may as well just include it here */
46 #include "info.h"
47 
48 extern void hide_main_client(void);
49 
50 #endif
info.h
spinbutton_count
GtkWidget * spinbutton_count
Definition: main.h:24
map_notebook
GtkWidget * map_notebook
Definition: map.c:37
window_xml_file
char window_xml_file[MAX_BUF]
Definition: main.c:98
window_xml
GtkBuilder * window_xml
Definition: main.h:25
MAX_BUF
#define MAX_BUF
Definition: client.h:40
connect_window
GtkWidget * connect_window
Definition: main.c:103
dialog_xml
GtkBuilder * dialog_xml
Definition: main.c:102
hide_main_client
void hide_main_client(void)
Definition: main.c:477
window_root
GtkWidget * window_root
Definition: main.c:103
main_notebook
GtkNotebook * main_notebook
Definition: main.c:104
image_size
int image_size
Definition: main.h:34
magic_map
GtkWidget * magic_map
Definition: main.c:103
root_color
GdkColor root_color[NUM_COLORS]
Definition: main.c:100
map_image_size
int map_image_size
Definition: map.c:34
NUM_COLORS
#define NUM_COLORS
Definition: main.h:22