Support for scalable font and gui elements
[oweals/minetest.git] / src / guiFormSpecMenu.h
index 474f13cb158c6c4dd047fba0dc35cdf04ea31f00..81dd7ba162919f314277d80107e808cd42c33214 100644 (file)
@@ -312,13 +312,13 @@ protected:
        video::SColor m_slotbg_h;
        video::SColor m_slotbordercolor;
 private:
-       IFormSource*      m_form_src;
-       TextDest*         m_text_dst;
-       GUIFormSpecMenu** m_ext_ptr;
+       IFormSource      *m_form_src;
+       TextDest         *m_text_dst;
+       GUIFormSpecMenu **m_ext_ptr;
+       gui::IGUIFont    *m_font;
 
        typedef struct {
                v2s32 size;
-               s32 helptext_h;
                core::rect<s32> rect;
                v2s32 basepos;
                int bp_set;
@@ -380,6 +380,8 @@ private:
                s32 time;
        };
        clickpos m_doubleclickdetect[2];
+
+       int m_btn_height;
 };
 
 class FormspecFormSource: public IFormSource