ngscopeclient 0.1-dev+51fbda87c
|
File browser backed by ImGuiFileDialog. More...
#include <IGFDFileBrowser.h>
Public Member Functions | |
IGFDFileBrowser (const std::string &initialPath, const std::string &title, const std::string &id, const std::string &filterName, const std::string &filterMask, bool saveDialog) | |
virtual void | Render () |
Run imgui tasks (if needed) for the dialog. More... | |
virtual bool | IsClosed () |
Returns true if the dialog has been closed. More... | |
virtual bool | IsClosedOK () |
Returns true if the dialog has been closed with an "OK" response. More... | |
virtual std::string | GetFileName () |
Gets the filename the user selected. More... | |
virtual void | Render ()=0 |
Run imgui tasks (if needed) for the dialog. More... | |
virtual bool | IsClosed ()=0 |
Returns true if the dialog has been closed. More... | |
virtual bool | IsClosedOK ()=0 |
Returns true if the dialog has been closed with an "OK" response. More... | |
virtual std::string | GetFileName ()=0 |
Gets the filename the user selected. More... | |
Protected Attributes | |
bool | m_closed |
True if the dialog has been closed. | |
bool | m_closedOK |
True if the dialog has been closed with an "OK" result. | |
ImGuiFileDialog | m_dialog |
The underlying dialog. | |
std::map< std::string, std::string > | m_bookmarks |
Bookmark paths. | |
std::string | m_id |
Dialog ID. | |
File browser backed by ImGuiFileDialog.
|
virtual |
Gets the filename the user selected.
Implements FileBrowser.
|
virtual |
Returns true if the dialog has been closed.
Implements FileBrowser.
|
virtual |
Returns true if the dialog has been closed with an "OK" response.
Implements FileBrowser.
|
virtual |
Run imgui tasks (if needed) for the dialog.
Implements FileBrowser.