|
Freeciv-3.3
|
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 208 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 476 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 166 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 332 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 263 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 501 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 183 of file mapctrl.c.
Referenced by setup_widgets().