Freeciv-3.3
|
#include <gtk/gtk.h>
#include "fcintl.h"
#include "support.h"
#include "combat.h"
#include "game.h"
#include "map.h"
#include "player.h"
#include "unit.h"
#include "overview_common.h"
#include "client_main.h"
#include "climap.h"
#include "climisc.h"
#include "control.h"
#include "editor.h"
#include "tilespec.h"
#include "text.h"
#include "zoom.h"
#include "cma_core.h"
#include "chatline.h"
#include "citydlg.h"
#include "colors.h"
#include "dialogs.h"
#include "editgui.h"
#include "graphics.h"
#include "gui_main.h"
#include "infradlg.h"
#include "inputdlg.h"
#include "mapview.h"
#include "menu.h"
#include "rallypointdlg.h"
#include "mapctrl.h"
Go to the source code of this file.
Variables | |
gint | cur_x |
gint | cur_y |
gboolean leave_mapcanvas | ( | GtkEventControllerMotion * | controller, |
gpointer | data | ||
) |
gboolean left_butt_down_mapcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Handle all left mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 206 of file mapctrl.c.
Referenced by setup_widgets().
gboolean left_butt_down_overviewcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Left button pressed at overview
Definition at line 474 of file mapctrl.c.
Referenced by setup_widgets().
gboolean left_butt_up_mapcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Handle 'Left mouse button released'. Because of the quickselect feature, the release of both left and right mousebutton can launch the goto.
Definition at line 164 of file mapctrl.c.
Referenced by setup_widgets().
gboolean middle_butt_down_mapcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Handle all middle mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 330 of file mapctrl.c.
Referenced by setup_widgets().
gboolean move_mapcanvas | ( | GtkEventControllerMotion * | controller, |
gdouble | x, | ||
gdouble | y, | ||
gpointer | data | ||
) |
gboolean move_overviewcanvas | ( | GtkEventControllerMotion * | controller, |
gdouble | x, | ||
gdouble | y, | ||
gpointer | data | ||
) |
gboolean right_butt_down_mapcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Handle all right mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 261 of file mapctrl.c.
Referenced by setup_widgets().
gboolean right_butt_down_overviewcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Right button pressed at overview
Definition at line 499 of file mapctrl.c.
Referenced by setup_widgets().
gboolean right_butt_up_mapcanvas | ( | GtkGestureClick * | gesture, |
int | n_press, | ||
double | x, | ||
double | y, | ||
gpointer | data | ||
) |
Handle 'Right mouse button released'. Because of the quickselect feature, the release of both left and right mousebutton can launch the goto.
Definition at line 181 of file mapctrl.c.
Referenced by setup_widgets().
The Area Selection rectangle. Called by center_tile_mapcanvas() and when the mouse pointer moves.
|
extern |
Definition at line 185 of file gui_main.c.