1 /********************************************************************** 2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold 3 This program is free software; you can redistribute it and/or modify 4 it under the terms of the GNU General Public License as published by 5 the Free Software Foundation; either version 2, or (at your option) 6 any later version. 7 8 This program is distributed in the hope that it will be useful, 9 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 GNU General Public License for more details. 12 ***********************************************************************/ 13 #ifndef FC__GUI_MAIN_H 14 #define FC__GUI_MAIN_H 15 16 #include <X11/Intrinsic.h> 17 18 #include "gui_main_g.h" 19 20 void xaw_ui_exit(void); 21 void main_show_info_popup(XEvent *event); 22 void reset_econ_label_pixmaps(void); 23 void reset_unit_below_pixmaps(void); 24 25 void assign_battlegroup(int battlegroup); 26 void select_battlegroup(int battlegroup); 27 void add_unit_to_battlegroup(int battlegroup); 28 29 extern Atom wm_delete_window; 30 extern Display *display; 31 extern int display_depth; 32 extern int screen_number; 33 extern GC civ_gc; 34 extern GC border_line_gc; 35 extern GC fill_bg_gc; 36 extern GC fill_tile_gc; 37 extern GC font_gc; 38 extern GC prod_font_gc; 39 extern Pixmap gray50; 40 extern Pixmap gray25; 41 #define single_tile_pixmap (mapview.single_tile->pixmap) 42 extern Widget map_vertical_scrollbar; 43 extern Widget map_horizontal_scrollbar; 44 extern Widget left_column_form; 45 extern Widget menu_form; 46 extern Widget below_menu_form; 47 extern Widget bottom_form; 48 extern Widget map_form; 49 extern Widget map_canvas; 50 extern Widget overview_canvas; 51 extern Widget econ_label[10]; 52 extern Widget bulb_label; 53 extern Widget sun_label; 54 extern Widget flake_label; 55 extern Widget government_label; 56 extern Widget timeout_label; 57 extern Widget unit_info_label; 58 extern Widget turn_done_button; 59 extern Widget info_command; 60 extern Widget toplevel; 61 extern Widget main_form; 62 extern Window root_window; 63 extern Widget inputline_text; 64 extern Widget outputwindow_text; 65 extern XFontSet main_font_set; 66 extern XFontSet prod_font_set; 67 extern XtAppContext app_context; 68 69 #endif /* FC__GUI_MAIN_H */ 70