summaryrefslogtreecommitdiff
path: root/src/gui/windows/selldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 14:41:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 14:41:32 +0300
commit23ca69dbf704cd289d58f023689289fcab515464 (patch)
tree15bc9d2b2b16746689b15bca181f9048320173b9 /src/gui/windows/selldialog.h
parentbeaddb973febb0570a9d035c2221e4fd06e3ac47 (diff)
downloadmanaplus-23ca69dbf704cd289d58f023689289fcab515464.tar.gz
manaplus-23ca69dbf704cd289d58f023689289fcab515464.tar.bz2
manaplus-23ca69dbf704cd289d58f023689289fcab515464.tar.xz
manaplus-23ca69dbf704cd289d58f023689289fcab515464.zip
Simplify SellDialog.
Diffstat (limited to 'src/gui/windows/selldialog.h')
-rw-r--r--src/gui/windows/selldialog.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/windows/selldialog.h b/src/gui/windows/selldialog.h
index 471ae74f2..b97cb13dc 100644
--- a/src/gui/windows/selldialog.h
+++ b/src/gui/windows/selldialog.h
@@ -51,7 +51,7 @@ class SellDialog notfinal : public Window,
*
* @see Window::Window
*/
- explicit SellDialog(const int npcId);
+ SellDialog();
/**
* Constructor.
@@ -65,8 +65,6 @@ class SellDialog notfinal : public Window,
*/
~SellDialog();
- void init();
-
/**
* Resets the dialog, clearing inventory.
*/
@@ -124,8 +122,6 @@ class SellDialog notfinal : public Window,
virtual void sellAction(const ActionEvent &event) = 0;
- std::string mNick;
-
Button *mSellButton;
Button *mQuitButton;
Button *mAddMaxButton;
@@ -138,7 +134,6 @@ class SellDialog notfinal : public Window,
Slider *mSlider;
ShopItems *mShopItems;
- int mNpcId;
int mPlayerMoney;
int mMaxItems;
int mAmountItems;