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:
Hombre
2014-11-03 20:16:06 +01:00
parent aacd088ad6
commit 1f64148fc9
28 changed files with 282 additions and 103 deletions

View File

@@ -27,6 +27,13 @@
class ThumbBrowserBase;
class ThumbBrowserEntryBase {
public:
enum eWithFilename {
WFNAME_NONE,
WFNAME_REDUCED,
WFNAME_FULL
};
protected:
int fnlabw, fnlabh; // dimensions of the filename label
int dtlabw, dtlabh; // dimensions of the date/time label
@@ -96,6 +103,7 @@ protected:
bool edited;
bool recentlysaved;
bool updatepriority;
eWithFilename withFilename;
ThumbBrowserEntryBase (const Glib::ustring& fname);
virtual ~ThumbBrowserEntryBase ();