You can pan the view as you pan an image in normal view mode, using left mouse button and drag.\r
</para>\r
<para>A primary mouse button click on any image will display informations about the image. Secondary mouse button will show a context menu.</para>\r
+ <para>\r
+ The\r
+ <link linkend="GuideReferenceKeyboardShortcuts" endterm="titleGuideReferenceKeyboardShortcuts" />\r
+ available are listed in the Reference section.\r
+ </para>\r
<note>\r
<para>Pan view recursively visits each folder under the specified folder. This can consume considerable computer resources.</para>\r
</note>\r
</varlistentry>\r
</variablelist>\r
</section>\r
-</section>
+</section>\r
#include "metadata.h"
#include "filedata.h"
#include "history_list.h"
+#include "layout_util.h"
#include "misc.h"
#include "ui_misc.h"
#include "window.h"
break;
}
} // if (event->state & GDK_CONTROL...
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideOtherWindowsExif.html");
+ stop_signal = TRUE;
+ }
return stop_signal;
} // static gboolean advanced_exif_...
#include "img-view.h"
#include "layout.h"
#include "layout_image.h"
+#include "layout_util.h"
#include "misc.h"
#include "pixbuf_util.h"
#include "print.h"
collection_remove_by_info(cw->cd, collection_table_get_focus_info(cw->table));
}
break;
- case GDK_KEY_F1:
- help_window_show("GuideReferenceKeyboardShortcuts.html#CollectionsKeyboardShortcuts");
- break;
default:
stop_signal = FALSE;
break;
}
}
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideCollections.html");
+ stop_signal = TRUE;
+ }
+
return stop_signal;
}
#include "img-view.h"
#include "layout.h"
#include "layout_image.h"
+#include "layout_util.h"
#include "md5-util.h"
#include "menu.h"
#include "misc.h"
dupe_popup_menu_pos_cb, listview, 0, GDK_CURRENT_TIME);
}
break;
- case GDK_KEY_F1:
- help_window_show("GuideReferenceKeyboardShortcuts.html#DuplicatesKeyboardShortcuts");
- break;
default:
stop_signal = FALSE;
break;
}
}
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideImageSearchFindingDuplicates.html");
+ stop_signal = TRUE;
+ }
return stop_signal;
}
#include "image-overlay.h"
#include "layout.h"
#include "layout_image.h"
+#include "layout_util.h"
#include "menu.h"
#include "misc.h"
#include "pixbuf_util.h"
break;
}
}
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideOtherWindowsImageWindow.html");
+ stop_signal = TRUE;
+ }
return stop_signal;
}
// layout_menu_edit_update(lw);
}
+/**
+ * @brief Checks if event key is mapped to Help
+ * @param event
+ * @returns
+ *
+ * Used to check if the user has re-mapped the Help key
+ * in Preferences/Keyboard
+ *
+ * Note: help_key.accel_mods and event->state
+ * differ in the higher bits
+ */
+gboolean is_help_key(GdkEventKey *event)
+{
+ GtkAccelKey help_key;
+ gboolean ret = FALSE;
+ guint mask = GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK;
+
+ if (gtk_accel_map_lookup_entry("<Actions>/MenuActions/HelpContents", &help_key))
+ {
+ if (help_key.accel_key == event->keyval &&
+ (help_key.accel_mods & mask) == (event->state & mask))
+ {
+ ret = TRUE;
+ }
+ }
+
+ return ret;
+}
/*
*-----------------------------------------------------------------------------
void layout_exif_window_new(LayoutWindow *lw);
+gboolean is_help_key(GdkEventKey *event);
+
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */
#include "history_list.h"
#include "image.h"
#include "img-view.h"
+#include "layout_util.h"
#include "menu.h"
#include "metadata.h"
#include "misc.h"
case '/':
pan_search_toggle_visible(pw, TRUE);
break;
- case GDK_KEY_F1:
- help_window_show("GuideReferenceKeyboardShortcuts.html#PanViewKeyboardShortcuts");
- break;
- default:
stop_signal = FALSE;
break;
}
}
}
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideOtherWindowsPanView.html");
+ stop_signal = TRUE;
+ }
return stop_signal;
}
#include "image-load.h"
#include "img-view.h"
#include "layout.h"
+#include "layout_util.h"
#include "math.h"
#include "menu.h"
#include "metadata.h"
search_result_menu_pos_cb, sd, 0, GDK_CURRENT_TIME);
}
break;
- case GDK_KEY_F1:
- help_window_show("GuideReferenceKeyboardShortcuts.html#SearchKeyboardShortcuts");
- break;
default:
stop_signal = FALSE;
break;
break;
}
}
+ if (!stop_signal && is_help_key(event))
+ {
+ help_window_show("GuideImageSearchSearch.html");
+ stop_signal = TRUE;
+ }
return stop_signal;
}
You can pan the view as you pan an image in normal view mode, using left mouse button and drag.
</p>
<p class="para block">A primary mouse button click on any image will display informations about the image. Secondary mouse button will show a context menu.</p>
+<p class="para block">
+ The
+ <a class="link" href="GuideReferenceKeyboardShortcuts.html" title="Keyboard and Mouse Shortcuts">Keyboard and Mouse Shortcuts</a>
+ available are listed in the Reference section.
+ </p>
<div class="admonition block note block-indent"><div class="note-inner">
<p class="para block block-first">Pan view recursively visits each folder under the specified folder. This can consume considerable computer resources.</p>
</div></div>