diff options
author | sapier <Sapier at GMX dot net> | 2014-06-14 11:22:09 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-06-22 00:08:55 +0200 |
commit | d4245e6cac58a57ad2498eee2c17e851f3292296 (patch) | |
tree | 9e3988d50bf69aa1eaff97cfbedffe23f36a2b9b /src/defaultsettings.h | |
parent | a0097c6bfab026d5655ef7a9ba127cb90a80798c (diff) | |
download | minetest-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/defaultsettings.h')
-rw-r--r-- | src/defaultsettings.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/defaultsettings.h b/src/defaultsettings.h index 00aacad87..8c7f88a78 100644 --- a/src/defaultsettings.h +++ b/src/defaultsettings.h @@ -22,7 +22,23 @@ with this program; if not, write to the Free Software Foundation, Inc., class Settings; +/** + * initialize basic default settings + * @param settings pointer to settings + */ void set_default_settings(Settings *settings); + +/** + * initialize default values which require knowledge about gui + * @param settings pointer to settings + */ +void late_init_default_settings(Settings* settings); + +/** + * override a default settings by settings from another settings element + * @param settings target settings pointer + * @param from source settings pointer + */ void override_default_settings(Settings *settings, Settings *from); #endif |