summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-15 23:52:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-16 00:28:38 +0300
commit661a14c66685de67ec560005c285267fe7098c62 (patch)
tree66a0cf5a2f07f9b1bf4f932577e2d47663b49a41 /src/gui/widgets/popup.h
parent54ff2f6fec70e66d7a8b4a96b28fa7d46f2304a3 (diff)
downloadManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.gz
ManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.bz2
ManaVerse-661a14c66685de67ec560005c285267fe7098c62.tar.xz
ManaVerse-661a14c66685de67ec560005c285267fe7098c62.zip
Fix a bit jewelry theme for drop down list.
Fix drop down position.
Diffstat (limited to 'src/gui/widgets/popup.h')
-rw-r--r--src/gui/widgets/popup.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h
index ac4cc6e94..410e14059 100644
--- a/src/gui/widgets/popup.h
+++ b/src/gui/widgets/popup.h
@@ -168,13 +168,15 @@ class Popup : public Container, public gcn::MouseListener,
void widgetMoved(const gcn::Event &event) override;
+ protected:
+ int mPadding; /**< Holds the padding of the popup. */
+
private:
std::string mPopupName; /**< Name of the popup */
int mMinWidth; /**< Minimum popup width */
int mMinHeight; /**< Minimum popup height */
int mMaxWidth; /**< Maximum popup width */
int mMaxHeight; /**< Maximum popup height */
- int mPadding; /**< Holds the padding of the popup. */
Skin *mSkin; /**< Skin in use by this popup */
ImageCollection *mVertexes;