ngscopeclient 0.1-dev+51fbda87c
Public Member Functions | List of all members
FileBrowser Class Referenceabstract

Abstract base class for a dialog that displays a file picker window. More...

#include <FileBrowser.h>

Inheritance diagram for FileBrowser:
Inheritance graph
[legend]

Public Member Functions

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...
 

Detailed Description

Abstract base class for a dialog that displays a file picker window.

Member Function Documentation

◆ GetFileName()

virtual std::string FileBrowser::GetFileName ( )
pure virtual

Gets the filename the user selected.

Implemented in IGFDFileBrowser, and NFDFileBrowser.

◆ IsClosed()

virtual bool FileBrowser::IsClosed ( )
pure virtual

Returns true if the dialog has been closed.

Implemented in IGFDFileBrowser, and NFDFileBrowser.

◆ IsClosedOK()

virtual bool FileBrowser::IsClosedOK ( )
pure virtual

Returns true if the dialog has been closed with an "OK" response.

Implemented in IGFDFileBrowser, and NFDFileBrowser.

◆ Render()

virtual void FileBrowser::Render ( )
pure virtual

Run imgui tasks (if needed) for the dialog.

Implemented in IGFDFileBrowser, and NFDFileBrowser.


The documentation for this class was generated from the following files: