From 26e2eb019afa60c66c4dc89cf24bbf5b25c6a383 Mon Sep 17 00:00:00 2001 From: red-001 Date: Sun, 11 Jun 2017 08:43:31 +0100 Subject: 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 --- util/travis/clang-format-whitelist.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util/travis/clang-format-whitelist.txt') 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 -- cgit v1.2.3