Factor out the three thumbnail browser selection modes without changing their behaviour.

This commit is contained in:
Adam Reichold
2015-11-28 23:21:17 +01:00
parent 5758f4d9ad
commit 88ab82cee9
3 changed files with 114 additions and 110 deletions

View File

@@ -110,6 +110,12 @@ public:
void scroll (int direction);
void scrollPage (int direction);
private:
void selectSingle (ThumbBrowserEntryBase* fileDescr);
void selectRange (ThumbBrowserEntryBase* fileDescr);
void selectSet (ThumbBrowserEntryBase* fileDescr);
public:
void selectPrev (int distance, bool enlarge);
void selectNext (int distance, bool enlarge);
void selectFirst (bool enlarge);