Removed silencing of gtk warning logs from gtk3.22-client.
[freeciv.git] / client / gui-xaw / mapview.h
blob8cafbe7c5aed9f1ce6cdf9e0693594de35242ce1
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.
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__MAPVIEW_H
14 #define FC__MAPVIEW_H
16 #include <X11/Intrinsic.h>
18 #include "fc_types.h"
20 #include "mapview_g.h"
22 #include "citydlg_common.h"
24 #include "graphics.h"
26 Pixmap get_thumb_pixmap(int onoff);
27 Pixmap get_citizen_pixmap(enum citizen_category type, int cnum,
28 struct city *pcity);
30 void put_unit_pixmap_city_overlays(struct unit *punit, Pixmap pm,
31 int *upkeep_cost, int happy_cost);
33 void overview_canvas_expose(Widget w, XEvent *event, Region exposed,
34 void *client_data);
35 void map_canvas_expose(Widget w, XEvent *event, Region exposed,
36 void *client_data);
38 void scrollbar_jump_callback(Widget scrollbar, XtPointer client_data,
39 XtPointer percent_ptr);
40 void scrollbar_scroll_callback(Widget w, XtPointer client_data,
41 XtPointer position_ptr);
43 #endif /* FC__MAPVIEW_H */