14 #define GUI_USE_NATIVE_FILE_DIALOG 1
17 namespace visualization {
41 void AddFilter(
const char *filter,
const char *description);
46 void SetOnDone(std::function<
void(
const char *)> on_done);
49 const Constraints &constraints)
const override;
58 std::unique_ptr<Impl> impl_;
ImGuiContext * context
Definition: Window.cpp:76
const Theme * theme
Definition: Window.cpp:74
Base class for dialogs.
Definition: Dialog.h:19
Dialog(const char *title)
Definition: Dialog.cpp:23
Definition: FileDialog.h:22
void SetOnCancel(std::function< void()> on_cancel)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:365
Size CalcPreferredSize(const LayoutContext &context, const Constraints &constraints) const override
Definition: FileDialog.cpp:410
void SetPath(const char *path)
Definition: FileDialog.cpp:318
void OnDone()
Definition: FileDialog.cpp:375
void OnWillShow() override
Definition: FileDialog.cpp:373
FileDialog(Mode type, const char *title, const Theme &theme)
Definition: FileDialog.cpp:218
void AddFilter(const char *filter, const char *description)
Definition: FileDialog.cpp:346
Mode
Definition: FileDialog.h:26
void SetOnDone(std::function< void(const char *)> on_done)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:369
virtual ~FileDialog()
Definition: FileDialog.cpp:316
Definition: PinholeCameraIntrinsic.cpp:16