aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguifiledialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/gui/iguifiledialog.cpp')
-rw-r--r--src/client/lua_api/gui/iguifiledialog.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/client/lua_api/gui/iguifiledialog.cpp b/src/client/lua_api/gui/iguifiledialog.cpp
index d717673..9b789cb 100644
--- a/src/client/lua_api/gui/iguifiledialog.cpp
+++ b/src/client/lua_api/gui/iguifiledialog.cpp
@@ -17,9 +17,6 @@ extern "C" {
#include <shared/util/hashmap.hpp>
#include <shared/lua_api/common.hpp>
-/***
-@module gui
-*/
using namespace irr;
using namespace core;
using namespace gui;
@@ -27,17 +24,17 @@ using namespace gui;
extern IrrlichtDevice* device;
/***
-@function newfileopendialog()
Creates a new dialog to open a file.
The file creation window may have the following fields set for callbacks:
.onDirectorySelect(self)
.onFileSelect(self)
.onCanceled(self)
-@tparam ?string title The rectangle to place the button at. If the box has a parent,
+@function gui.newfileopendialog()
+@tparam? string title The rectangle to place the button at. If the box has a parent,
it is offset from the upper-left of the parent element.
-@tparam ?string path The path to open the file dialog to
-@tparam ?iguielement parent The parent element of the button.
-@tparam ?boolean modal If other gui elements can be interacted with before this element is closed
+@tparam? string path The path to open the file dialog to
+@tparam? iguielement parent The parent element of the button.
+@tparam? boolean modal If other gui elements can be interacted with before this element is closed
@treturn iguifileopendialog The button element
*/
//gui.newfileopendialog(["title"][,"path"][,parent][,modal])