Crossfire Client, Trunk  R20507
Macros | Variables
main.h File Reference

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

#include "info.h"
Include dependency graph for main.h:
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 DEFAULT_UI   CF_DATADIR "/ui/gtk-v2.ui"
 
#define DIALOG_FILENAME   CF_DATADIR "/ui/dialogs.ui"
 
#define MAGIC_MAP_PAGE   1
 Notebook page of the magic map. More...
 
#define NUM_COLORS   13
 

Variables

char account_password [256]
 
GtkBuilder * dialog_xml
 
int image_size
 
GtkWidget * magic_map
 
int map_image_half_size
 
int map_image_size
 
GtkWidget * map_notebook
 
GdkColor root_color [NUM_COLORS]
 
GtkWidget * spinbutton_count
 
GtkWidget * window_root
 In main.c. More...
 
GtkBuilder * window_xml
 
char window_xml_file [MAX_BUF]
 Path to the current UI file. More...
 

Detailed Description

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

Definition in file main.h.

Macro Definition Documentation

◆ DEFAULT_IMAGE_SIZE

#define DEFAULT_IMAGE_SIZE   32

Definition at line 27 of file main.h.

◆ DEFAULT_UI

#define DEFAULT_UI   CF_DATADIR "/ui/gtk-v2.ui"

Definition at line 30 of file main.h.

Referenced by init_ui().

◆ DIALOG_FILENAME

#define DIALOG_FILENAME   CF_DATADIR "/ui/dialogs.ui"

Definition at line 31 of file main.h.

Referenced by init_ui().

◆ MAGIC_MAP_PAGE

#define MAGIC_MAP_PAGE   1

Notebook page of the magic map.

Definition at line 36 of file main.h.

Referenced by do_timeout(), and draw_magic_map().

◆ NUM_COLORS

#define NUM_COLORS   13

Definition at line 19 of file main.h.

Referenced by add_to_textbuf(), init_ui(), and set_text_tag_from_style().

Variable Documentation

◆ account_password

char account_password[256]

◆ dialog_xml

GtkBuilder* dialog_xml

◆ image_size

int image_size

Definition at line 36 of file image.c.

Referenced by config_check(), draw_inv_table(), init_choose_char_window(), and setup_list_columns().

◆ magic_map

GtkWidget* magic_map

Definition at line 87 of file main.c.

Referenced by draw_magic_map(), init_ui(), and magic_map_flash_pos().

◆ map_image_half_size

int map_image_half_size

Definition at line 40 of file map.c.

Referenced by config_check().

◆ map_image_size

int map_image_size

◆ map_notebook

GtkWidget* map_notebook

Definition at line 44 of file map.c.

Referenced by do_timeout(), draw_magic_map(), and map_init().

◆ root_color

GdkColor root_color[NUM_COLORS]

Definition at line 84 of file main.c.

Referenced by draw_magic_map(), init_ui(), and magic_map_flash_pos().

◆ spinbutton_count

GtkWidget * spinbutton_count

Definition at line 63 of file keys.c.

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

◆ window_root

GtkWidget* window_root

In main.c.

Definition at line 87 of file main.c.

Referenced by init_ui(), and main().

◆ window_xml

GtkBuilder * window_xml

◆ window_xml_file

char window_xml_file[MAX_BUF]

Path to the current UI file.

Definition at line 34 of file main.h.