#include <gtk/gtk.h>
#include "fc_types.h"
#include "mapctrl_g.h"
Go to the source code of this file.
|
gboolean | left_butt_up_mapcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | right_butt_up_mapcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | left_butt_down_mapcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | right_butt_down_mapcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | middle_butt_down_mapcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | left_butt_down_overviewcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | right_butt_down_overviewcanvas (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
gboolean | move_mapcanvas (GtkEventControllerMotion *controller, gdouble x, gdouble y, gpointer data) |
|
gboolean | leave_mapcanvas (GtkEventControllerMotion *controller, gpointer data) |
|
gboolean | move_overviewcanvas (GtkEventControllerMotion *controller, gdouble x, gdouble y, gpointer data) |
|
void | center_on_unit (void) |
|
void | popupinfo_popdown_callback (GtkWidget *w, gpointer data) |
|
◆ center_on_unit()
Best effort to center the map on the currently selected unit(s)
Definition at line 496 of file mapctrl.c.
◆ leave_mapcanvas()
This function will reset the mouse cursor if it leaves the map.
Definition at line 451 of file mapctrl.c.
◆ left_butt_down_mapcanvas()
Handle all left mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 206 of file mapctrl.c.
◆ left_butt_down_overviewcanvas()
Left button pressed at overview
Definition at line 474 of file mapctrl.c.
◆ left_butt_up_mapcanvas()
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.
◆ middle_butt_down_mapcanvas()
Handle all middle mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 330 of file mapctrl.c.
◆ move_mapcanvas()
Triggered by the mouse moving on the mapcanvas, this function will update the mouse cursor and goto lines.
Definition at line 418 of file mapctrl.c.
◆ move_overviewcanvas()
Overview canvas moved
Definition at line 463 of file mapctrl.c.
◆ popupinfo_popdown_callback()
Information label destruction requested
Definition at line 167 of file mapctrl.c.
◆ right_butt_down_mapcanvas()
Handle all right mouse button presses on canvas. Future feature: User-configurable mouse clicks.
Definition at line 261 of file mapctrl.c.
◆ right_butt_down_overviewcanvas()
Right button pressed at overview
Definition at line 499 of file mapctrl.c.
◆ right_butt_up_mapcanvas()
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.