1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

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!
This commit is contained in:
sapier 2014-06-14 11:22:09 +02:00
parent a0097c6bfa
commit d4245e6cac
9 changed files with 143 additions and 57 deletions

View file

@ -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