<listitem><para><keycap>Ctrl+Right</keycap> Pan the viewport East</para></listitem>
<listitem><para><keycap>Ctrl+Down</keycap> Pan the viewport South</para></listitem>
<listitem><para><keycap>Ctrl+Left</keycap> Pan the viewport West</para></listitem>
+<listitem><para><keycap>Ctrl+Keypad+</keycap> Zoom In</para></listitem>
+<listitem><para><keycap>Ctrl+Keypad-</keycap> Zoom Out</para></listitem>
<listitem><note><para>These work irrespective of the <xref linkend="tools"/> mode selected</para></note></listitem>
</itemizedlist>
For other combinations see the menu entry themselves.
map_download = TRUE;
map_download_only_new = FALSE;
}
+ // Standard Ctrl+KP+ / Ctrl+KP- to zoom in/out respectively
+ else if ( event->keyval == GDK_KEY_KP_Add && (event->state & modifiers) == GDK_CONTROL_MASK ) {
+ vik_viewport_zoom_in ( vw->viking_vvp );
+ draw_update(vw);
+ return TRUE; // handled keypress
+ }
+ else if ( event->keyval == GDK_KEY_KP_Subtract && (event->state & modifiers) == GDK_CONTROL_MASK ) {
+ vik_viewport_zoom_out ( vw->viking_vvp );
+ draw_update(vw);
+ return TRUE; // handled keypress
+ }
if ( map_download ) {
simple_map_update ( vw, map_download_only_new );