diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-20 06:11:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-20 06:11:17 +0300 |
commit | 3363acba6f1e8e51937ae2e354a8086c5c56b8cd (patch) | |
tree | cc2429241a3e7cba7a90ba1ae1b76e0abf8e5345 /src/gui/windows/confirmdialog.h | |
parent | 1f5ca54b8f60e112c2043160700055290c8ce912 (diff) | |
download | mv-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.gz mv-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.bz2 mv-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.xz mv-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.zip |
Show gm revive button in death dialog if player have rights for @alive command.
Diffstat (limited to 'src/gui/windows/confirmdialog.h')
-rw-r--r-- | src/gui/windows/confirmdialog.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h index f2a7f9094..58522c2e2 100644 --- a/src/gui/windows/confirmdialog.h +++ b/src/gui/windows/confirmdialog.h @@ -52,6 +52,20 @@ class ConfirmDialog notfinal : public Window, const Modal modal, Window *const parent); + /** + * Constructor. + * + * @see Window::Window + */ + ConfirmDialog(const std::string &restrict title, + const std::string &restrict msg, + const std::string &restrict yesMsg, + const std::string &restrict noMsg, + const std::string &restrict soundEvent, + const bool ignore, + const Modal modal, + Window *const parent); + A_DELETE_COPY(ConfirmDialog) /** @@ -62,6 +76,8 @@ class ConfirmDialog notfinal : public Window, void postInit() override final; private: + std::string mYesMsg; + std::string mNoMsg; TextBox *mTextBox A_NONNULLPOINTER; bool mIgnore; }; |