Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-gtk-3.22/mapctrl.h Source File

Freeciv-3.3

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
24 gboolean butt_release_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
25 gboolean butt_down_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
26 gboolean butt_down_overviewcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data);
27 gboolean move_mapcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data);
28 gboolean leave_mapcanvas(GtkWidget *widget, GdkEventCrossing *event);
29 gboolean 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 */
incite_cost
char * incite_cost
Definition comments.c:74
event
enum event_type event
Definition events.c:81
fc_types.h
butt_release_mapcanvas
gboolean butt_release_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:221
move_overviewcanvas
gboolean move_overviewcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data)
Definition mapctrl.c:463
butt_down_overviewcanvas
gboolean butt_down_overviewcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:473
center_on_unit
void center_on_unit(void)
Definition mapctrl.c:496
butt_down_mapcanvas
gboolean butt_down_mapcanvas(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition mapctrl.c:242
move_mapcanvas
gboolean move_mapcanvas(GtkWidget *w, GdkEventMotion *ev, gpointer data)
Definition mapctrl.c:406
leave_mapcanvas
gboolean leave_mapcanvas(GtkWidget *widget, GdkEventCrossing *event)
Definition mapctrl.c:435
popupinfo_popdown_callback
void popupinfo_popdown_callback(GtkWidget *w, gpointer data)
Definition mapctrl.c:167
mapctrl_g.h
widget
Definition widget.h:112