Keyboard navigation in File Browser (issue 1919, on behalf of Adam Reichold)

Select a thumbnail using the arrow keys, select multiple with Shift
This commit is contained in:
michael
2013-07-02 13:33:46 -04:00
parent fbf5a98e1c
commit 01414d0550
4 changed files with 188 additions and 34 deletions

View File

@@ -78,6 +78,9 @@ class ThumbBrowserBase : public Gtk::VBox {
void scroll (int direction);
void scrollPage (int direction);
void selectPrev(int distance, bool enlarge);
void selectNext(int distance, bool enlarge);
protected:
int eventTime;
@@ -88,6 +91,7 @@ class ThumbBrowserBase : public Gtk::VBox {
ThumbBrowserEntryBase* lastClicked;
int previewHeight;
int numOfCols;
Arrangement arrangement;