summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-07 14:42:58 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-07 14:42:58 +0300
commitc1eb6af06cb3453eea7a5242bc603af716c58990 (patch)
treee7af20a2bf90d07f35f43f33fedab8a2b1fb4aaf /src/gui/widgets/tabbedarea.h
parent94fdc870da3cfba82ac9b05b0e77489782244a76 (diff)
downloadmv-c1eb6af06cb3453eea7a5242bc603af716c58990.tar.gz
mv-c1eb6af06cb3453eea7a5242bc603af716c58990.tar.bz2
mv-c1eb6af06cb3453eea7a5242bc603af716c58990.tar.xz
mv-c1eb6af06cb3453eea7a5242bc603af716c58990.zip
extent tab to follow different resize policy.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 3301ad2a8..114d549ff 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -182,6 +182,9 @@ class TabbedArea final : public Widget2,
void death(const gcn::Event &event);
+ void setResizeHeight(bool b)
+ { mResizeHeight = b; }
+
private:
typedef std::vector <std::pair<Tab*, gcn::Widget*> > TabContainer;
@@ -237,6 +240,7 @@ class TabbedArea final : public Widget2,
int mRightMargin;
bool mFollowDownScroll;
bool mBlockSwitching;
+ bool mResizeHeight;
};
#endif // GUI_WIDGETS_TABBEDAREA_H