aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-06-14 11:22:09 +0200
committersapier <Sapier at GMX dot net>2014-06-22 00:08:55 +0200
commitd4245e6cac58a57ad2498eee2c17e851f3292296 (patch)
tree9e3988d50bf69aa1eaff97cfbedffe23f36a2b9b /src/guiFormSpecMenu.h
parenta0097c6bfab026d5655ef7a9ba127cb90a80798c (diff)
downloadminetest-d4245e6cac58a57ad2498eee2c17e851f3292296.tar.gz
minetest-d4245e6cac58a57ad2498eee2c17e851f3292296.tar.bz2
minetest-d4245e6cac58a57ad2498eee2c17e851f3292296.zip
Support for scalable font and gui elements
Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h
index 91605bc16..81dd7ba16 100644
--- a/src/guiFormSpecMenu.h
+++ b/src/guiFormSpecMenu.h
@@ -319,7 +319,6 @@ private:
typedef struct {
v2s32 size;
- s32 helptext_h;
core::rect<s32> rect;
v2s32 basepos;
int bp_set;
@@ -381,6 +380,8 @@ private:
s32 time;
};
clickpos m_doubleclickdetect[2];
+
+ int m_btn_height;
};
class FormspecFormSource: public IFormSource