diff options
Diffstat (limited to 'src/gui/widgets/selldialog.h')
-rw-r--r-- | src/gui/widgets/selldialog.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/selldialog.h b/src/gui/widgets/selldialog.h index 8ae2168d0..d147947b5 100644 --- a/src/gui/widgets/selldialog.h +++ b/src/gui/widgets/selldialog.h @@ -48,15 +48,8 @@ class SellDialog notfinal : public Window, public: /** * Constructor. - * - * @see Window::Window - */ - SellDialog(); - - /** - * Constructor. */ - explicit SellDialog(const std::string &nick); + explicit SellDialog(const bool isSell); A_DELETE_COPY(SellDialog) @@ -111,6 +104,8 @@ class SellDialog notfinal : public Window, */ static void closeAll(); + void postInit(); + protected: typedef std::list<SellDialog*> DialogList; static DialogList instances; @@ -122,6 +117,9 @@ class SellDialog notfinal : public Window, virtual void sellAction(const ActionEvent &event) = 0; + virtual void initButtons() + { } + Button *mSellButton; Button *mQuitButton; Button *mAddMaxButton; @@ -137,6 +135,8 @@ class SellDialog notfinal : public Window, int mPlayerMoney; int mMaxItems; int mAmountItems; + + bool mIsSell; }; #endif // GUI_WIDGETS_SELLDIALOG_H |