35 std::function<void(
const std::string&)> closedCallback;
38 char name[128] = {
'\0'};
A window that asks the user for the name of the folder to create.
Definition: FolderNameWindow.hpp:8
void SetClosedCallback(const std::function< void(const std::string &)> &callback)
Set function to call when closed.
Definition: FolderNameWindow.cpp:37
FolderNameWindow()=default
Default constructor.
bool IsVisible() const
Get whether the window is visible.
Definition: FolderNameWindow.cpp:33
void SetVisible(bool visible)
Set whether the window should be visible.
Definition: FolderNameWindow.cpp:29
void Show()
Show the window and let the user enter a name.
Definition: FolderNameWindow.cpp:7
Definition: AssetEditor.hpp:9