Crossfire Client, Branches  R11627
main.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFAULT_IMAGE_SIZE   32
 
#define DIALOG_XML_FILENAME   "dialogs.glade"
 
#define MAGIC_MAP_PAGE   1
 
#define NUM_COLORS   13
 
#define WINDOW_XML_FILENAME   "gtk-v2.glade"
 
#define XML_PATH_DEFAULT   CF_DATADIR "/glade-gtk2/"
 

Variables

GladeXML * dialog_xml
 
int image_size
 
int map_image_half_size
 
int map_image_size
 
GdkColor root_color [NUM_COLORS]
 
GtkWidget * spinbutton_count
 
GtkWidget * window_root
 
GladeXML * window_xml
 
char window_xml_file []
 

Detailed Description

Contains various global definitions and XML file name and path defaults.

Definition in file main.h.

Macro Definition Documentation

#define DEFAULT_IMAGE_SIZE   32

Definition at line 37 of file main.h.

#define DIALOG_XML_FILENAME   "dialogs.glade"

Definition at line 42 of file main.h.

Referenced by scandir_glade_filter().

#define MAGIC_MAP_PAGE   1

Notebook page of the magic map

Definition at line 45 of file main.h.

Referenced by draw_magic_map(), and magic_map_flash_pos().

#define NUM_COLORS   13

Definition at line 32 of file main.h.

Referenced by add_to_textbuf(), info_get_styles(), main(), and message_callback().

#define WINDOW_XML_FILENAME   "gtk-v2.glade"

Definition at line 41 of file main.h.

#define XML_PATH_DEFAULT   CF_DATADIR "/glade-gtk2/"

Definition at line 40 of file main.h.

Referenced by main().

Variable Documentation

GladeXML* dialog_xml

Definition at line 57 of file main.c.

Referenced by config_init(), get_metaserver(), keys_init(), main(), menu_about(), and on_spells_activate().

int image_size

Definition at line 116 of file gx11.c.

int map_image_half_size

Definition at line 117 of file gx11.c.

Referenced by init_windows(), load_defaults(), and parse_args().

GdkColor root_color[NUM_COLORS]
GtkWidget * spinbutton_count

Definition at line 76 of file keys.c.

Referenced by keys_init(), list_item_action(), and parse_key().

GtkWidget* window_root

In main.c

Definition at line 56 of file main.c.

Referenced by main().

GladeXML * window_xml

Definition at line 57 of file main.c.

Referenced by main().

char window_xml_file[]

The file name of the window layout in use by the client. The base name, without dot extention, is re-used when saving the window positions.

Definition at line 98 of file main.c.

Referenced by load_defaults(), load_window_positions(), main(), read_config_window(), save_defaults(), save_winpos(), and setup_config_window().