summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-04 19:06:23 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-04 19:35:23 +0300
commit2e752adf979e74f9a4b919bbc88929a7bf3adf25 (patch)
treecd8b5f370e0c86dc08a487a9721971da8bd491d8 /src/gui/outfitwindow.h
parente668ab141d6b006b790d2b0a8fc515d13b78317e (diff)
downloadmv-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.gz
mv-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.bz2
mv-2e752adf979e74f9a4b919bbc88929a7bf3adf25.tar.xz
mv-2e752adf979e74f9a4b919bbc88929a7bf3adf25.zip
Add support for colors in outfits window.
Diffstat (limited to 'src/gui/outfitwindow.h')
-rw-r--r--src/gui/outfitwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/outfitwindow.h b/src/gui/outfitwindow.h
index 8c73b13e0..7fd29608c 100644
--- a/src/gui/outfitwindow.h
+++ b/src/gui/outfitwindow.h
@@ -64,6 +64,8 @@ class OutfitWindow : public Window, gcn::ActionListener
void setItemSelected(int itemId)
{ mItemSelected = itemId; }
+ void setItemSelected(Item *item);
+
bool isItemSelected()
{ return mItemSelected > 0; }
@@ -120,8 +122,10 @@ class OutfitWindow : public Window, gcn::ActionListener
void save();
int mItems[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT];
+ unsigned char mItemColors[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT];
bool mItemsUnequip[OUTFITS_COUNT];
int mItemSelected;
+ int mItemColorSelected;
int mCurrentOutfit;
int mAwayOutfit;