57 void AddFilter(
const char *filter,
const char *description);
62 void SetOnDone(std::function<
void(
const char *)> on_done);
73 std::unique_ptr<Impl> impl_;
void SetPath(const char *path)
Definition: FileDialog.cpp:322
virtual ~FileDialog()
Definition: FileDialog.cpp:320
Definition: FileDialog.h:38
Size CalcPreferredSize(const Theme &theme) const override
Definition: FileDialog.cpp:390
void OnWillShow() override
Definition: FileDialog.cpp:377
void SetOnDone(std::function< void(const char *)> on_done)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:373
Base class for dialogs.
Definition: Dialog.h:37
FileDialog(Mode type, const char *title, const Theme &theme)
Definition: FileDialog.cpp:223
void OnDone()
Definition: FileDialog.cpp:379
Mode
Definition: FileDialog.h:42
Definition: FileDialog.cpp:122
void SetOnCancel(std::function< void()> on_cancel)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:369
char type
Definition: FilePCD.cpp:58
Definition: Open3DViewer.h:29
void AddFilter(const char *filter, const char *description)
Definition: FileDialog.cpp:350
Dialog(const char *title)
Definition: Dialog.cpp:41