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

@@ -110,10 +110,13 @@ protected:
int getMinimalHeight () { return height; }
int getMinimalWidth () { return width; }
int getEffectiveWidth () const { return exp_width; }
int getEffectiveHeight () const { return exp_height; }
int getPreviewHeight () const { return preh; }
int getStartX () const { return startx; }
int getStartY () const { return starty; }
int getX () const { return ofsX+startx; }
int getY () const { return ofsY+starty; }
bool inside (int x, int y);
bool insideWindow (int x, int y, int w, int h);