]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/modalMenu.h
Cpp11 patchset 11: continue working on constructor style migration (#6004)
[dragonfireclient.git] / src / modalMenu.h
index 38a26535e4ffe752d876910971ba69aeef8c441c..7dbf36fbc7455e3be8204e85de5083e22a23020a 100644 (file)
@@ -48,11 +48,7 @@ class GUIModalMenu : public gui::IGUIElement
                IGUIElement(gui::EGUIET_ELEMENT, env, parent, id,
                                core::rect<s32>(0,0,100,100))
        {
-               //m_force_regenerate_gui = false;
-
                m_menumgr = menumgr;
-               m_allow_focus_removal = false;
-               m_screensize_old = v2u32(0,0);
 
                setVisible(true);
                Environment->setFocus(this);
@@ -142,7 +138,7 @@ class GUIModalMenu : public gui::IGUIElement
        IMenuManager *m_menumgr;
        // This might be necessary to expose to the implementation if it
        // wants to launch other menus
-       bool m_allow_focus_removal;
+       bool m_allow_focus_removal = false;
 };