#include <imguifilesystem.h>
|
typedef bool(* | DrawFileIconDelegate) (int fileExtensionType, const ImVec4 *pOptionalColorOverride) |
|
typedef bool(* | DrawFolderIconDelegate) (bool useOpenFolderIconIfAvailable, const ImVec4 *pOptionalColorOverride) |
|
|
IMGUI_API | Dialog (bool noKnownDirectoriesSection=false, bool noCreateDirectorySection=false, bool noFilteringSection=false, bool detectKnownDirectoriesAtEachOpening=false, bool addDisplayByOption=false, bool dontFilterSaveFilePathsEnteredByTheUser=false) |
|
IMGUI_API | ~Dialog () |
|
IMGUI_API const char * | chooseFileDialog (bool dialogTriggerButton, const char *directory=NULL, const char *fileFilterExtensionString=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f) |
|
IMGUI_API const char * | chooseFolderDialog (bool dialogTriggerButton, const char *directory=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f) |
|
IMGUI_API const char * | saveFileDialog (bool dialogTriggerButton, const char *directory=NULL, const char *startingFileNameEntry=NULL, const char *fileFilterExtensionString=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f) |
|
IMGUI_API const char * | getChosenPath () const |
|
IMGUI_API const char * | getLastDirectory () const |
|
IMGUI_API bool | hasUserJustCancelledDialog () const |
|
|
const char * | ChooseFileMainMethod (Dialog &ist, const char *directory, const bool _isFolderChooserDialog, const bool _isSaveFileDialog, const char *_saveFileName, const char *fileFilterExtensionString, const char *windowTitle, const ImVec2 &windowSize, const ImVec2 &windowPos, const float windowAlpha) |
|
Definition at line 131 of file imguifilesystem.h.
◆ DrawFileIconDelegate
typedef bool(* ImGuiFs::Dialog::DrawFileIconDelegate) (int fileExtensionType, const ImVec4 *pOptionalColorOverride) |
◆ DrawFolderIconDelegate
typedef bool(* ImGuiFs::Dialog::DrawFolderIconDelegate) (bool useOpenFolderIconIfAvailable, const ImVec4 *pOptionalColorOverride) |
◆ Dialog()
ImGuiFs::Dialog::Dialog |
( |
bool |
noKnownDirectoriesSection = false , |
|
|
bool |
noCreateDirectorySection = false , |
|
|
bool |
noFilteringSection = false , |
|
|
bool |
detectKnownDirectoriesAtEachOpening = false , |
|
|
bool |
addDisplayByOption = false , |
|
|
bool |
dontFilterSaveFilePathsEnteredByTheUser = false |
|
) |
| |
◆ ~Dialog()
ImGuiFs::Dialog::~Dialog |
( |
| ) |
|
◆ chooseFileDialog()
const char * ImGuiFs::Dialog::chooseFileDialog |
( |
bool |
dialogTriggerButton, |
|
|
const char * |
directory = NULL , |
|
|
const char * |
fileFilterExtensionString = NULL , |
|
|
const char * |
windowTitle = NULL , |
|
|
const ImVec2 & |
windowSize = ImVec2(-1,-1) , |
|
|
const ImVec2 & |
windowPos = ImVec2(-1,-1) , |
|
|
const float |
windowAlpha = 0.875f |
|
) |
| |
◆ chooseFolderDialog()
const char * ImGuiFs::Dialog::chooseFolderDialog |
( |
bool |
dialogTriggerButton, |
|
|
const char * |
directory = NULL , |
|
|
const char * |
windowTitle = NULL , |
|
|
const ImVec2 & |
windowSize = ImVec2(-1,-1) , |
|
|
const ImVec2 & |
windowPos = ImVec2(-1,-1) , |
|
|
const float |
windowAlpha = 0.875f |
|
) |
| |
◆ getChosenPath()
const char * ImGuiFs::Dialog::getChosenPath |
( |
| ) |
const |
◆ getLastDirectory()
const char * ImGuiFs::Dialog::getLastDirectory |
( |
| ) |
const |
◆ hasUserJustCancelledDialog()
bool ImGuiFs::Dialog::hasUserJustCancelledDialog |
( |
| ) |
const |
◆ saveFileDialog()
const char * ImGuiFs::Dialog::saveFileDialog |
( |
bool |
dialogTriggerButton, |
|
|
const char * |
directory = NULL , |
|
|
const char * |
startingFileNameEntry = NULL , |
|
|
const char * |
fileFilterExtensionString = NULL , |
|
|
const char * |
windowTitle = NULL , |
|
|
const ImVec2 & |
windowSize = ImVec2(-1,-1) , |
|
|
const ImVec2 & |
windowPos = ImVec2(-1,-1) , |
|
|
const float |
windowAlpha = 0.875f |
|
) |
| |
◆ ChooseFileMainMethod
const char * ChooseFileMainMethod |
( |
Dialog & |
ist, |
|
|
const char * |
directory, |
|
|
const bool |
_isFolderChooserDialog, |
|
|
const bool |
_isSaveFileDialog, |
|
|
const char * |
_saveFileName, |
|
|
const char * |
fileFilterExtensionString, |
|
|
const char * |
windowTitle, |
|
|
const ImVec2 & |
windowSize, |
|
|
const ImVec2 & |
windowPos, |
|
|
const float |
windowAlpha |
|
) |
| |
|
friend |
◆ DrawFileIconCallback
◆ DrawFolderIconCallback
◆ ExtraWindowFlags
ImGuiWindowFlags ImGuiFs::Dialog::ExtraWindowFlags = 0 |
|
static |
◆ internal
struct Internal* ImGuiFs::Dialog::internal |
|
private |
◆ WindowLTRBOffsets
ImVec4 ImGuiFs::Dialog::WindowLTRBOffsets |
|
static |
◆ WindowSize
ImVec2 ImGuiFs::Dialog::WindowSize |
|
static |
◆ WrapMode
bool ImGuiFs::Dialog::WrapMode = true |
|
static |
The documentation for this struct was generated from the following files: