Freeciv-3.2
|
Go to the source code of this file.
Best effort to center the map on the currently selected unit(s)
Definition at line 496 of file mapctrl.c.
Referenced by center_view_callback(), and center_view_callback().
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().