Rulesave saves trade.type and trade.bonus correctly.
[freeciv.git] / client / gui-gtk-2.0 / mapctrl.h
blob4b0292023c51cf37437ae581e729b86de8fe0554
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__MAPCTRL_H
14 #define FC__MAPCTRL_H
16 #include <gtk/gtk.h>
18 #include "fc_types.h"
20 #include "mapctrl_g.h"
22 gboolean butt_release_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
23 gboolean butt_down_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
24 gboolean butt_down_overviewcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
25 gboolean move_mapcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data);
26 gboolean leave_mapcanvas(GtkWidget *widget, GdkEventCrossing *event);
27 gboolean move_overviewcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data);
29 void center_on_unit(void);
30 void overlay_workers_at_city(void);
32 void popupinfo_popdown_callback(GtkWidget *w, gpointer data);
34 #endif /* FC__MAPCTRL_H */