aboutsummaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-06-11 08:43:31 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-11 09:43:31 +0200
commit26e2eb019afa60c66c4dc89cf24bbf5b25c6a383 (patch)
treea2ac098a32d4b7c97775c9161a29b12ec54e3fad /builtin/settingtypes.txt
parent6c5e5e202394ce8063e3c2d9b663145bc4f8efce (diff)
downloadminetest-26e2eb019afa60c66c4dc89cf24bbf5b25c6a383.tar.gz
minetest-26e2eb019afa60c66c4dc89cf24bbf5b25c6a383.tar.bz2
minetest-26e2eb019afa60c66c4dc89cf24bbf5b25c6a383.zip
Improve the path select GUI (#5852)
- Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 0f2715ab5..53fb23859 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -12,6 +12,7 @@
# - float
# - enum
# - path
+# - filepath
# - key (will be ignored in GUI, since a special key change dialog exists)
# - flags
# - noise_params
@@ -31,6 +32,8 @@
# - default value1,value2,...
# * path:
# - default (if default is not specified then "" is set)
+# * filepath:
+# - default (if default is not specified then "" is set)
# * key:
# - default
# * flags:
@@ -642,7 +645,7 @@ tooltip_show_delay (Tooltip delay) int 400
freetype (Freetype fonts) bool true
# Path to TrueTypeFont or bitmap.
-font_path (Font path) path fonts/liberationsans.ttf
+font_path (Font path) filepath fonts/liberationsans.ttf
font_size (Font size) int 16
@@ -652,12 +655,12 @@ font_shadow (Font shadow) int 1
# Font shadow alpha (opaqueness, between 0 and 255).
font_shadow_alpha (Font shadow alpha) int 127 0 255
-mono_font_path (Monospace font path) path fonts/liberationmono.ttf
+mono_font_path (Monospace font path) filepath fonts/liberationmono.ttf
mono_font_size (Monospace font size) int 15
# This font will be used for certain languages.
-fallback_font_path (Fallback font) path fonts/DroidSansFallbackFull.ttf
+fallback_font_path (Fallback font) filepath fonts/DroidSansFallbackFull.ttf
fallback_font_size (Fallback font size) int 15
fallback_font_shadow (Fallback font shadow) int 1
fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255