mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
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
This commit is contained in:
parent
6c5e5e2023
commit
26e2eb019a
10 changed files with 77 additions and 70 deletions
|
@ -757,7 +757,7 @@
|
|||
# freetype = true
|
||||
|
||||
# Path to TrueTypeFont or bitmap.
|
||||
# type: path
|
||||
# type: filepath
|
||||
# font_path = fonts/liberationsans.ttf
|
||||
|
||||
# type: int
|
||||
|
@ -771,14 +771,14 @@
|
|||
# type: int min: 0 max: 255
|
||||
# font_shadow_alpha = 127
|
||||
|
||||
# type: path
|
||||
# type: filepath
|
||||
# mono_font_path = fonts/liberationmono.ttf
|
||||
|
||||
# type: int
|
||||
# mono_font_size = 15
|
||||
|
||||
# This font will be used for certain languages.
|
||||
# type: path
|
||||
# type: filepath
|
||||
# fallback_font_path = fonts/DroidSansFallbackFull.ttf
|
||||
|
||||
# type: int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue