Crossfire Client, Branch  R11627
main.h
Go to the documentation of this file.
00001 /*
00002  * char *rcsid_gtk2_main_h =
00003  *   "$Id: main.h 11626 2009-04-04 12:41:46Z lalo $";
00004  */
00005 /*
00006     Crossfire client, a client program for the crossfire program.
00007 
00008     Copyright (C) 2005 Mark Wedel & Crossfire Development Team
00009 
00010     This program is free software; you can redistribute it and/or modify
00011     it under the terms of the GNU General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or
00013     (at your option) any later version.
00014 
00015     This program is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU General Public License for more details.
00019 
00020     You should have received a copy of the GNU General Public License
00021     along with this program; if not, write to the Free Software
00022     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00023 
00024     The author can be reached via e-mail to crossfire@metalforge.org
00025 */
00026 
00032 #define NUM_COLORS 13
00033 extern GdkColor root_color[NUM_COLORS];
00034 extern GtkWidget *window_root, *spinbutton_count;
00035 extern GladeXML *dialog_xml, *window_xml;
00036 
00037 #define DEFAULT_IMAGE_SIZE      32
00038 extern int map_image_size, map_image_half_size, image_size;
00039 
00040 #define XML_PATH_DEFAULT CF_DATADIR "/glade-gtk2/"
00041 #define WINDOW_XML_FILENAME "gtk-v2.glade"
00042 #define DIALOG_XML_FILENAME "dialogs.glade"
00043 extern char window_xml_file[];
00044 
00045 #define MAGIC_MAP_PAGE  1