diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 21:38:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:17 +0300 |
commit | d425e370aeea834cac28b3d4b412538645330c86 (patch) | |
tree | 78e7467184939044f57305dde32035c6751b71eb /src/gui/widgets | |
parent | 71d7483a1d35a7068c456dfe6d3c0e54f1ae71a3 (diff) | |
download | plus-d425e370aeea834cac28b3d4b412538645330c86.tar.gz plus-d425e370aeea834cac28b3d4b412538645330c86.tar.bz2 plus-d425e370aeea834cac28b3d4b412538645330c86.tar.xz plus-d425e370aeea834cac28b3d4b412538645330c86.zip |
add postInit function into popup.
use postInit in beingpopup.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/popup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h index 7c367586b..4f59978ce 100644 --- a/src/gui/widgets/popup.h +++ b/src/gui/widgets/popup.h @@ -170,6 +170,10 @@ class Popup : public Container, public gcn::MouseListener, bool isPopupVisible() const { return mVisible; } + virtual void postInit() + { + } + protected: int mPadding; /**< Holds the padding of the popup. */ Skin *mSkin; /**< Skin in use by this popup */ |