summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-22 00:07:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-22 00:07:52 +0300
commit8c8fa7cb1755696684fac4ae343621b912ed9419 (patch)
tree27e8012b6c717b03bd4b0a0ea6203da3d14bc64e /src/gui/widgets/itemcontainer.h
parentd03dcbba2674854cac2d94c259a7ffb20026d188 (diff)
downloadmanaverse-8c8fa7cb1755696684fac4ae343621b912ed9419.tar.gz
manaverse-8c8fa7cb1755696684fac4ae343621b912ed9419.tar.bz2
manaverse-8c8fa7cb1755696684fac4ae343621b912ed9419.tar.xz
manaverse-8c8fa7cb1755696684fac4ae343621b912ed9419.zip
Extend item container theming.
New theme parameters: paddingItemX - padding for item icon from left paddingItemY - padding for item icon from top
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index cc5c21c64..fed91e5ca 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -215,6 +215,8 @@ class ItemContainer final : public gcn::Widget,
int mBoxWidth;
int mBoxHeight;
int mEquippedTextPadding;
+ int mPaddingItemX;
+ int mPaddingItemY;
typedef std::list<gcn::SelectionListener*> SelectionListenerList;
typedef SelectionListenerList::iterator SelectionListenerIterator;