]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiConfirmRegistration.h
Formspecs: Add state-selection to style elements (#9378)
[dragonfireclient.git] / src / gui / guiConfirmRegistration.h
index 2f2066c21b5fd7f6f1c8b1e46e7426c65045773f..d8387201d46d88d2a0aa7e97997873c4603611e6 100644 (file)
@@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <string>
 
 class Client;
+class ISimpleTextureSource;
 
 class GUIConfirmRegistration : public GUIModalMenu
 {
@@ -32,7 +33,7 @@ class GUIConfirmRegistration : public GUIModalMenu
        GUIConfirmRegistration(gui::IGUIEnvironment *env, gui::IGUIElement *parent,
                        s32 id, IMenuManager *menumgr, Client *client,
                        const std::string &playername, const std::string &password,
-                       const std::string &address, bool *aborted);
+                       bool *aborted, ISimpleTextureSource *tsrc);
        ~GUIConfirmRegistration();
 
        void removeChildren();
@@ -61,7 +62,7 @@ class GUIConfirmRegistration : public GUIModalMenu
        Client *m_client = nullptr;
        const std::string &m_playername;
        const std::string &m_password;
-       const std::string &m_address;
        bool *m_aborted = nullptr;
        std::wstring m_pass_confirm = L"";
+       ISimpleTextureSource *m_tsrc;
 };