summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-21 15:24:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-21 15:24:58 +0300
commita77b9d248fdaadef39248dd3773354b75138a831 (patch)
treef8c80394510fb7f16bc948338e2a5507d7016e78 /src/gui/widgets/itemcontainer.h
parent8048bed1e902feba8c623f68badbba946b0a24ac (diff)
downloadplus-a77b9d248fdaadef39248dd3773354b75138a831.tar.gz
plus-a77b9d248fdaadef39248dd3773354b75138a831.tar.bz2
plus-a77b9d248fdaadef39248dd3773354b75138a831.tar.xz
plus-a77b9d248fdaadef39248dd3773354b75138a831.zip
Extend theming itemcontainer (used in inventory, trade window etc)
New theme file: itemcontainer.xml Options in file: boxWidth - item box width. Default value 35. boxHeight - item box height. Default value 53. equippedTextPadding - padding for item amount or equipped text. Default value 29.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index 87ccfe7df..cc5c21c64 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -211,6 +211,10 @@ class ItemContainer final : public gcn::Widget,
ItemPopup *mItemPopup;
int *mShowMatrix;
int mClicks;
+ Skin *mSkin;
+ int mBoxWidth;
+ int mBoxHeight;
+ int mEquippedTextPadding;
typedef std::list<gcn::SelectionListener*> SelectionListenerList;
typedef SelectionListenerList::iterator SelectionListenerIterator;