summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-16 20:39:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-16 20:39:05 +0300
commitc106b4914a09fae969f8cb1205b9286dd2beb0e7 (patch)
tree58e34b4ace90c922a3ba061dde59146b4e4b0ed0 /src/gui/widgets/tab.h
parent11f10affa92d3868a4a91d45fe4915d36e1400a9 (diff)
downloadplus-c106b4914a09fae969f8cb1205b9286dd2beb0e7.tar.gz
plus-c106b4914a09fae969f8cb1205b9286dd2beb0e7.tar.bz2
plus-c106b4914a09fae969f8cb1205b9286dd2beb0e7.tar.xz
plus-c106b4914a09fae969f8cb1205b9286dd2beb0e7.zip
Improve tab.
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 6cd2a3e2d..cbc50a2ef 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -135,7 +135,7 @@ class Tab : public gcn::BasicContainer,
void setTabbedArea(TabbedArea* tabbedArea);
- TabbedArea* getTabbedArea() A_WARN_UNUSED;
+ TabbedArea* getTabbedArea() const A_WARN_UNUSED;
void setCaption(const std::string& caption);
@@ -153,7 +153,6 @@ class Tab : public gcn::BasicContainer,
Label* mLabel;
- bool mHasMouse;
TabbedArea* mTabbedArea;
@@ -177,8 +176,11 @@ class Tab : public gcn::BasicContainer,
const gcn::Color *mPlayerFlashOutlineColor;
int mFlash;
ImageCollection *mVertexes;
- bool mRedraw;
int mMode;
+ bool mRedraw;
+
+ protected:
+ bool mHasMouse;
};
#endif // GUI_WIDGETS_TAB_H