Factor out the three thumbnail browser selection modes without changing their behaviour.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user