Freeciv-3.1
Loading...
Searching...
No Matches
mapctrl.h
Go to the documentation of this file.
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__MAPCTRL_H
14#define FC__MAPCTRL_H
15
16#include <gtk/gtk.h>
17
18/* common */
19#include "fc_types.h"
20
21/* client */
22#include "mapctrl_g.h"
23
24gboolean butt_release_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
25gboolean butt_down_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
26gboolean butt_down_overviewcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
27gboolean move_mapcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data);
28gboolean leave_mapcanvas(GtkWidget *widget, GdkEventCrossing *event);
29gboolean move_overviewcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data);
30
31void center_on_unit(void);
32
33void popupinfo_popdown_callback(GtkWidget *w, gpointer data);
34
35#endif /* FC__MAPCTRL_H */
enum event_type event
Definition events.c:81
gboolean butt_release_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:216
gboolean move_overviewcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data)
Definition mapctrl.c:458
gboolean butt_down_overviewcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:467
void center_on_unit(void)
Definition mapctrl.c:490
gboolean butt_down_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:237
gboolean move_mapcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data)
Definition mapctrl.c:400
gboolean leave_mapcanvas(GtkWidget *widget, GdkEventCrossing *event)
Definition mapctrl.c:429
void popupinfo_popdown_callback(GtkWidget *w, gpointer data)
Definition mapctrl.c:164