aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h
index df988f5a5..455aeaab8 100644
--- a/src/guiFormSpecMenu.h
+++ b/src/guiFormSpecMenu.h
@@ -348,10 +348,11 @@ private:
unsigned int m_formspec_version;
typedef struct {
+ bool explicit_size;
+ v2f invsize;
v2s32 size;
core::rect<s32> rect;
v2s32 basepos;
- int bp_set;
v2u32 screensize;
std::wstring focused_fieldname;
GUITable::TableOptions table_options;
@@ -398,6 +399,7 @@ private:
void parseListColors(parserData* data,std::string element);
void parseTooltip(parserData* data,std::string element);
bool parseVersionDirect(std::string data);
+ bool parseSizeDirect(parserData* data, std::string element);
void parseScrollBar(parserData* data, std::string element);
/**
@@ -415,6 +417,7 @@ private:
clickpos m_doubleclickdetect[2];
int m_btn_height;
+ gui::IGUIFont *m_font;
std::wstring getLabelByID(s32 id);
std::wstring getNameByID(s32 id);