diff options
author | red-001 <red-001@outlook.ie> | 2017-06-11 08:43:31 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-11 09:43:31 +0200 |
commit | 26e2eb019afa60c66c4dc89cf24bbf5b25c6a383 (patch) | |
tree | a2ac098a32d4b7c97775c9161a29b12ec54e3fad /util/travis | |
parent | 6c5e5e202394ce8063e3c2d9b663145bc4f8efce (diff) | |
download | minetest-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 'util/travis')
-rw-r--r-- | util/travis/clang-format-whitelist.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/travis/clang-format-whitelist.txt b/util/travis/clang-format-whitelist.txt index 932f59978..66e312cdb 100644 --- a/util/travis/clang-format-whitelist.txt +++ b/util/travis/clang-format-whitelist.txt @@ -89,7 +89,8 @@ src/guiChatConsole.cpp src/guiChatConsole.h src/guiEngine.cpp src/guiEngine.h -src/guiFileSelectMenu.cpp +src/guiPathSelectMenu.cpp +src/guiPathSelectMenu.h src/guiFormSpecMenu.cpp src/guiFormSpecMenu.h src/guiKeyChangeMenu.cpp |