43 void Open(
const std::string& currentPath =
"");
ImGui modal dialog for selecting SubGraph blueprint files.
void RenderFileList()
Renders the file list with scrolling support.
void Open(const std::string ¤tPath="")
Opens the modal with optional initial path.
~SubGraphFilePickerModal()=default
std::vector< std::string > GetFilteredFiles() const
Filters file list by search term.
void Render()
Renders the modal UI.
void RefreshFileList()
Scans current directory for .json blueprint files.
void Close()
Closes the modal without confirming changes.
int m_selectedIndex
Currently highlighted file (-1 = none)
bool IsConfirmed() const
Returns true if user clicked "Select" button.
bool m_isOpen
Is modal currently displayed.
std::string m_selectedFile
The file path user selected.
bool IsOpen() const
Returns true if modal is currently visible.
std::vector< std::string > m_blueprintFiles
.json files in current directory
SubGraphFilePickerModal()
void RenderActionButtons()
Renders action buttons (Select, Cancel).
bool m_confirmed
Did user click Select button.
char m_searchBuffer[128]
Search filter text.
const std::string & GetSelectedFile() const
Returns the selected file path (only valid if IsConfirmed() is true).
std::string m_currentPath
Current browse directory.
char m_pathBuffer[512]
Directory path input buffer.
< Provides AssetID and INVALID_ASSET_ID