OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Attributes | Friends | List of all members
ImGuiFs::Dialog Struct Reference

#include <imguifilesystem.h>

Collaboration diagram for ImGuiFs::Dialog:
[legend]

Public Member Functions

 Dialog (bool noKnownDirectoriesSection=false, bool noCreateDirectorySection=false, bool noFilteringSection=false, bool detectKnownDirectoriesAtEachOpening=false, bool addDisplayByOption=false, bool dontFilterSaveFilePathsEnteredByTheUser=false)
 
 ~Dialog ()
 
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)
 
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)
 
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)
 
const char * getChosenPath () const
 
const char * getLastDirectory () const
 

Private Attributes

struct Internal * internal
 

Friends

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)
 

Detailed Description

Definition at line 67 of file imguifilesystem.h.

Constructor & Destructor Documentation

ImGuiFs::Dialog::Dialog ( bool  noKnownDirectoriesSection = false,
bool  noCreateDirectorySection = false,
bool  noFilteringSection = false,
bool  detectKnownDirectoriesAtEachOpening = false,
bool  addDisplayByOption = false,
bool  dontFilterSaveFilePathsEnteredByTheUser = false 
)

Definition at line 983 of file imguifilesystem.cpp.

ImGuiFs::Dialog::~Dialog ( )

Definition at line 998 of file imguifilesystem.cpp.

Member Function Documentation

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 
)

Definition at line 1633 of file imguifilesystem.cpp.

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 
)

Definition at line 1640 of file imguifilesystem.cpp.

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 
)

Definition at line 1647 of file imguifilesystem.cpp.

const char * ImGuiFs::Dialog::getChosenPath ( ) const

Definition at line 1005 of file imguifilesystem.cpp.

const char * ImGuiFs::Dialog::getLastDirectory ( ) const

Definition at line 1006 of file imguifilesystem.cpp.

Friends And Related Function Documentation

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

Definition at line 1021 of file imguifilesystem.cpp.

Member Data Documentation

struct Internal* ImGuiFs::Dialog::internal
private

Definition at line 88 of file imguifilesystem.h.


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