Solving issue 2161: "Hide Filmstrip elements"
"t" has been remapped to "Ctrl+t" to show the content of the Trash "t" now show/hide the film strip and update the size of the allocated space "Shift-t" show/hide the film strip and keep the allocated space identical, preventing a main preview refresh
This commit is contained in:
@@ -53,6 +53,14 @@ class ThumbBrowserBase : public Gtk::VBox {
|
||||
bool isDirty () { return dirty; }
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
enum eLocation {
|
||||
THLOC_BATCHQUEUE,
|
||||
THLOC_FILEBROWSER,
|
||||
THLOC_EDITOR
|
||||
} location;
|
||||
|
||||
protected:
|
||||
virtual int getMaxThumbnailHeight() const { return options.maxThumbnailHeight; } // Differs between batch and file
|
||||
virtual void saveThumbnailHeight (int height)=0;
|
||||
@@ -64,8 +72,6 @@ class ThumbBrowserBase : public Gtk::VBox {
|
||||
|
||||
int inW, inH;
|
||||
|
||||
bool inTabMode; // Tab mode has e.g. different preview heights
|
||||
|
||||
void resizeThumbnailArea (int w, int h);
|
||||
void internalAreaResized (Gtk::Allocation& req);
|
||||
void buttonPressed (int x, int y, int button, GdkEventType type, int state, int clx, int cly, int clw, int clh);
|
||||
@@ -83,6 +89,8 @@ class ThumbBrowserBase : public Gtk::VBox {
|
||||
void selectFirst (bool enlarge);
|
||||
void selectLast (bool enlarge);
|
||||
|
||||
eLocation getLocation() { return location; }
|
||||
|
||||
protected:
|
||||
|
||||
int eventTime;
|
||||
|
Reference in New Issue
Block a user