Crossfire Client, Branch  R11627
Defines | Variables
main.h File Reference

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

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEFAULT_IMAGE_SIZE   32
#define DIALOG_XML_FILENAME   "dialogs.glade"
#define MAGIC_MAP_PAGE   1
 Notebook page of the magic map.
#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
 In main.c.
GladeXML * window_xml
char window_xml_file []
 The file name of the window layout in use by the client.

Detailed Description

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

Definition in file main.h.


Define 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().

Definition at line 116 of file gx11.c.

Definition at line 117 of file gx11.c.

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

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.

GladeXML * window_xml

Definition at line 57 of file main.c.

Referenced by main().

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().