summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-06 22:35:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-06 22:35:20 +0300
commit9505f6b7d5a64fb59ba177fd72f9eb83f7d37d9a (patch)
treed29f62e20e0c66af86acf625d8c5c69f77ca882b
parent7c30708a194f37fd2dc748256c72d8b06badd0fc (diff)
downloadmanaverse-9505f6b7d5a64fb59ba177fd72f9eb83f7d37d9a.tar.gz
manaverse-9505f6b7d5a64fb59ba177fd72f9eb83f7d37d9a.tar.bz2
manaverse-9505f6b7d5a64fb59ba177fd72f9eb83f7d37d9a.tar.xz
manaverse-9505f6b7d5a64fb59ba177fd72f9eb83f7d37d9a.zip
Extend outfits to 4x4 items in each outfit.
-rw-r--r--src/gui/outfitwindow.cpp4
-rw-r--r--src/gui/outfitwindow.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index f4767c33c..8b498f46c 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -65,7 +65,7 @@ OutfitWindow::OutfitWindow():
mBoxWidth(33),
mBoxHeight(33),
mGridWidth(4),
- mGridHeight(3),
+ mGridHeight(4),
mItemClicked(false),
mItemMoved(nullptr),
mItemSelected(-1),
@@ -80,7 +80,7 @@ OutfitWindow::OutfitWindow():
setDefaultSize(250, 400, 150, 230);
setMinWidth(145);
- setMinHeight(220);
+ setMinHeight(260);
mBorderColor = Theme::getThemeColor(Theme::BORDER, 64);
mBackgroundColor = Theme::getThemeColor(Theme::BACKGROUND, 32);
diff --git a/src/gui/outfitwindow.h b/src/gui/outfitwindow.h
index 2ce281b45..29751f488 100644
--- a/src/gui/outfitwindow.h
+++ b/src/gui/outfitwindow.h
@@ -35,7 +35,7 @@
#endif
#define OUTFITS_COUNT 100
-#define OUTFIT_ITEM_COUNT 12
+#define OUTFIT_ITEM_COUNT 16
class Button;
class CheckBox;