From d4245e6cac58a57ad2498eee2c17e851f3292296 Mon Sep 17 00:00:00 2001 From: sapier Date: Sat, 14 Jun 2014 11:22:09 +0200 Subject: 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! --- src/guiFormSpecMenu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/guiFormSpecMenu.h') 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 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 -- cgit v1.2.3