diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-21 15:24:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-21 15:24:58 +0300 |
commit | a77b9d248fdaadef39248dd3773354b75138a831 (patch) | |
tree | f8c80394510fb7f16bc948338e2a5507d7016e78 /src/gui/widgets/itemcontainer.h | |
parent | 8048bed1e902feba8c623f68badbba946b0a24ac (diff) | |
download | plus-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.h | 4 |
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; |