Owns the editor's popup/modal state and renders the corresponding ImGui dialogs.
More...
#include "donner/editor/DialogPresenter.h"
|
|
| DialogPresenter (std::string editorNoticeText) |
|
void | requestOpenFile (const std::optional< std::string > ¤tFilePath) |
|
void | requestSaveFile (const std::optional< std::string > ¤tFilePath, std::string error=std::string()) |
|
void | requestAbout () |
|
void | render (const std::function< bool(std::string_view, std::string *)> &tryOpenFile, const std::function< bool(std::string_view, std::string *)> &trySaveFile) |
|
void | setOpenFileError (std::string error) |
|
void | clearOpenFileError () |
|
void | setSaveFileError (std::string error) |
|
void | clearSaveFileError () |
Owns the editor's popup/modal state and renders the corresponding ImGui dialogs.
The documentation for this class was generated from the following file: