Skip to content

File ImGuiFileDialog.cpp

FileList > AIAC > UI > ImGuiFileDialog.cpp

Go to the source code of this file

  • #include "aiacpch.h"
  • #include "ImGuiFileDialog.h"

Public Functions

Type Name
IMGUIFILEDIALOG_API void IGFD_ClearFilesStyle (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API void IGFD_CloseDialog (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API ImGuiFileDialog * IGFD_Create (void)
IMGUIFILEDIALOG_API void IGFD_Destroy (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API bool IGFD_DisplayDialog (ImGuiFileDialog * vContext, const char * vKey, ImGuiWindowFlags vFlags, ImVec2 vMinSize, ImVec2 vMaxSize)
IMGUIFILEDIALOG_API char * IGFD_GetCurrentFileName (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API char * IGFD_GetCurrentFilter (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API char * IGFD_GetCurrentPath (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API char * IGFD_GetFilePathName (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API bool IGFD_GetFileStyle (ImGuiFileDialog * vContext, IGFD_FileStyleFlags vFlags, const char * vCriteria, ImVec4 * vOutColor, char ** vOutIconText, ImFont ** vOutFont)
IMGUIFILEDIALOG_API IGFD_Selection IGFD_GetSelection (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API void * IGFD_GetUserDatas (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API bool IGFD_IsKeyOpened (ImGuiFileDialog * vContext, const char * vCurrentOpenedKey)
IMGUIFILEDIALOG_API bool IGFD_IsOk (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API bool IGFD_IsOpened (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API void IGFD_OpenDialog (ImGuiFileDialog * vContext, const char * vKey, const char * vTitle, const char * vFilters, const char * vPath, const char * vFileName, const int vCountSelectionMax, void * vUserDatas, ImGuiFileDialogFlags flags)
IMGUIFILEDIALOG_API void IGFD_OpenDialog2 (ImGuiFileDialog * vContext, const char * vKey, const char * vTitle, const char * vFilters, const char * vFilePathName, const int vCountSelectionMax, void * vUserDatas, ImGuiFileDialogFlags flags)
IMGUIFILEDIALOG_API void IGFD_OpenPaneDialog (ImGuiFileDialog * vContext, const char * vKey, const char * vTitle, const char * vFilters, const char * vPath, const char * vFileName, IGFD_PaneFun vSidePane, const float vSidePaneWidth, const int vCountSelectionMax, void * vUserDatas, ImGuiFileDialogFlags flags)
IMGUIFILEDIALOG_API void IGFD_OpenPaneDialog2 (ImGuiFileDialog * vContext, const char * vKey, const char * vTitle, const char * vFilters, const char * vFilePathName, IGFD_PaneFun vSidePane, const float vSidePaneWidth, const int vCountSelectionMax, void * vUserDatas, ImGuiFileDialogFlags flags)
IMGUIFILEDIALOG_API void IGFD_Selection_DestroyContent (IGFD_Selection * vSelection)
IMGUIFILEDIALOG_API IGFD_Selection IGFD_Selection_Get (void)
IMGUIFILEDIALOG_API void IGFD_Selection_Pair_DestroyContent (IGFD_Selection_Pair * vSelection_Pair)
IMGUIFILEDIALOG_API IGFD_Selection_Pair IGFD_Selection_Pair_Get (void)
IMGUIFILEDIALOG_API void IGFD_SetFileStyle (ImGuiFileDialog * vContext, IGFD_FileStyleFlags vFlags, const char * vCriteria, ImVec4 vColor, const char * vIcon, ImFont * vFont)
IMGUIFILEDIALOG_API void IGFD_SetFileStyle2 (ImGuiFileDialog * vContext, IGFD_FileStyleFlags vFlags, const char * vCriteria, float vR, float vG, float vB, float vA, const char * vIcon, ImFont * vFont)
IMGUIFILEDIALOG_API bool IGFD_WasKeyOpenedThisFrame (ImGuiFileDialog * vContext, const char * vKey)
IMGUIFILEDIALOG_API bool IGFD_WasOpenedThisFrame (ImGuiFileDialog * vContext)
IMGUIFILEDIALOG_API void SetLocales (ImGuiFileDialog * vContext, const int vCategory, const char * vBeginLocale, const char * vEndLocale)

Macros

Type Name
define IMGUI_DEFINE_MATH_OPERATORS

Public Functions Documentation

function IGFD_ClearFilesStyle

IMGUIFILEDIALOG_API void IGFD_ClearFilesStyle (
    ImGuiFileDialog * vContext
) 

function IGFD_CloseDialog

IMGUIFILEDIALOG_API void IGFD_CloseDialog (
    ImGuiFileDialog * vContext
) 

function IGFD_Create

IMGUIFILEDIALOG_API ImGuiFileDialog * IGFD_Create (
    void
) 

function IGFD_Destroy

IMGUIFILEDIALOG_API void IGFD_Destroy (
    ImGuiFileDialog * vContext
) 

function IGFD_DisplayDialog

IMGUIFILEDIALOG_API bool IGFD_DisplayDialog (
    ImGuiFileDialog * vContext,
    const char * vKey,
    ImGuiWindowFlags vFlags,
    ImVec2 vMinSize,
    ImVec2 vMaxSize
) 

function IGFD_GetCurrentFileName

IMGUIFILEDIALOG_API char * IGFD_GetCurrentFileName (
    ImGuiFileDialog * vContext
) 

function IGFD_GetCurrentFilter

IMGUIFILEDIALOG_API char * IGFD_GetCurrentFilter (
    ImGuiFileDialog * vContext
) 

function IGFD_GetCurrentPath

IMGUIFILEDIALOG_API char * IGFD_GetCurrentPath (
    ImGuiFileDialog * vContext
) 

function IGFD_GetFilePathName

IMGUIFILEDIALOG_API char * IGFD_GetFilePathName (
    ImGuiFileDialog * vContext
) 

function IGFD_GetFileStyle

IMGUIFILEDIALOG_API bool IGFD_GetFileStyle (
    ImGuiFileDialog * vContext,
    IGFD_FileStyleFlags vFlags,
    const char * vCriteria,
    ImVec4 * vOutColor,
    char ** vOutIconText,
    ImFont ** vOutFont
) 

function IGFD_GetSelection

IMGUIFILEDIALOG_API IGFD_Selection IGFD_GetSelection (
    ImGuiFileDialog * vContext
) 

function IGFD_GetUserDatas

IMGUIFILEDIALOG_API void * IGFD_GetUserDatas (
    ImGuiFileDialog * vContext
) 

function IGFD_IsKeyOpened

IMGUIFILEDIALOG_API bool IGFD_IsKeyOpened (
    ImGuiFileDialog * vContext,
    const char * vCurrentOpenedKey
) 

function IGFD_IsOk

IMGUIFILEDIALOG_API bool IGFD_IsOk (
    ImGuiFileDialog * vContext
) 

function IGFD_IsOpened

IMGUIFILEDIALOG_API bool IGFD_IsOpened (
    ImGuiFileDialog * vContext
) 

function IGFD_OpenDialog

IMGUIFILEDIALOG_API void IGFD_OpenDialog (
    ImGuiFileDialog * vContext,
    const char * vKey,
    const char * vTitle,
    const char * vFilters,
    const char * vPath,
    const char * vFileName,
    const int vCountSelectionMax,
    void * vUserDatas,
    ImGuiFileDialogFlags flags
) 

function IGFD_OpenDialog2

IMGUIFILEDIALOG_API void IGFD_OpenDialog2 (
    ImGuiFileDialog * vContext,
    const char * vKey,
    const char * vTitle,
    const char * vFilters,
    const char * vFilePathName,
    const int vCountSelectionMax,
    void * vUserDatas,
    ImGuiFileDialogFlags flags
) 

function IGFD_OpenPaneDialog

IMGUIFILEDIALOG_API void IGFD_OpenPaneDialog (
    ImGuiFileDialog * vContext,
    const char * vKey,
    const char * vTitle,
    const char * vFilters,
    const char * vPath,
    const char * vFileName,
    IGFD_PaneFun vSidePane,
    const float vSidePaneWidth,
    const int vCountSelectionMax,
    void * vUserDatas,
    ImGuiFileDialogFlags flags
) 

function IGFD_OpenPaneDialog2

IMGUIFILEDIALOG_API void IGFD_OpenPaneDialog2 (
    ImGuiFileDialog * vContext,
    const char * vKey,
    const char * vTitle,
    const char * vFilters,
    const char * vFilePathName,
    IGFD_PaneFun vSidePane,
    const float vSidePaneWidth,
    const int vCountSelectionMax,
    void * vUserDatas,
    ImGuiFileDialogFlags flags
) 

function IGFD_Selection_DestroyContent

IMGUIFILEDIALOG_API void IGFD_Selection_DestroyContent (
    IGFD_Selection * vSelection
) 

function IGFD_Selection_Get

IMGUIFILEDIALOG_API IGFD_Selection IGFD_Selection_Get (
    void
) 

function IGFD_Selection_Pair_DestroyContent

IMGUIFILEDIALOG_API void IGFD_Selection_Pair_DestroyContent (
    IGFD_Selection_Pair * vSelection_Pair
) 

function IGFD_Selection_Pair_Get

IMGUIFILEDIALOG_API IGFD_Selection_Pair IGFD_Selection_Pair_Get (
    void
) 

function IGFD_SetFileStyle

IMGUIFILEDIALOG_API void IGFD_SetFileStyle (
    ImGuiFileDialog * vContext,
    IGFD_FileStyleFlags vFlags,
    const char * vCriteria,
    ImVec4 vColor,
    const char * vIcon,
    ImFont * vFont
) 

function IGFD_SetFileStyle2

IMGUIFILEDIALOG_API void IGFD_SetFileStyle2 (
    ImGuiFileDialog * vContext,
    IGFD_FileStyleFlags vFlags,
    const char * vCriteria,
    float vR,
    float vG,
    float vB,
    float vA,
    const char * vIcon,
    ImFont * vFont
) 

function IGFD_WasKeyOpenedThisFrame

IMGUIFILEDIALOG_API bool IGFD_WasKeyOpenedThisFrame (
    ImGuiFileDialog * vContext,
    const char * vKey
) 

function IGFD_WasOpenedThisFrame

IMGUIFILEDIALOG_API bool IGFD_WasOpenedThisFrame (
    ImGuiFileDialog * vContext
) 

function SetLocales

IMGUIFILEDIALOG_API void SetLocales (
    ImGuiFileDialog * vContext,
    const int vCategory,
    const char * vBeginLocale,
    const char * vEndLocale
) 

Macro Definition Documentation

define IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS 


The documentation for this class was generated from the following file src/AIAC/UI/ImGuiFileDialog.cpp