]> 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 42c07e4edf03f3953c60c03311fdedbd6c7284a9..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,
-                       bool *aborted);
+                       bool *aborted, ISimpleTextureSource *tsrc);
        ~GUIConfirmRegistration();
 
        void removeChildren();
@@ -63,4 +64,5 @@ class GUIConfirmRegistration : public GUIModalMenu
        const std::string &m_password;
        bool *m_aborted = nullptr;
        std::wstring m_pass_confirm = L"";
+       ISimpleTextureSource *m_tsrc;
 };