openMSX
Functions
ImGuiFileDialog.cc File Reference
#include "ImGuiFileDialog.h"
Include dependency graph for ImGuiFileDialog.cc:

Go to the source code of this file.

Functions

IGFD_C_API IGFD_FileDialog_Config IGFD_FileDialog_Config_Get ()
 
IGFD_C_API IGFD_Selection_Pair IGFD_Selection_Pair_Get (void)
 
IGFD_C_API void IGFD_Selection_Pair_DestroyContent (IGFD_Selection_Pair *vSelection_Pair)
 
IGFD_C_API IGFD_Selection IGFD_Selection_Get (void)
 
IGFD_C_API void IGFD_Selection_DestroyContent (IGFD_Selection *vSelection)
 
IGFD_C_API ImGuiFileDialog * IGFD_Create (void)
 
IGFD_C_API void IGFD_Destroy (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API void IGFD_OpenDialog (ImGuiFileDialog *vContextPtr, const char *vKey, const char *vTitle, const char *vFilters, const IGFD_FileDialog_Config vConfig)
 
IGFD_C_API bool IGFD_DisplayDialog (ImGuiFileDialog *vContextPtr, const char *vKey, ImGuiWindowFlags vFlags, ImVec2 vMinSize, ImVec2 vMaxSize)
 
IGFD_C_API void IGFD_CloseDialog (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API bool IGFD_IsOk (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API bool IGFD_WasKeyOpenedThisFrame (ImGuiFileDialog *vContextPtr, const char *vKey)
 
IGFD_C_API bool IGFD_WasOpenedThisFrame (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API bool IGFD_IsKeyOpened (ImGuiFileDialog *vContextPtr, const char *vCurrentOpenedKey)
 
IGFD_C_API bool IGFD_IsOpened (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API IGFD_Selection IGFD_GetSelection (ImGuiFileDialog *vContextPtr, IGFD_ResultMode vMode)
 
IGFD_C_API char * IGFD_GetFilePathName (ImGuiFileDialog *vContextPtr, IGFD_ResultMode vMode)
 
IGFD_C_API char * IGFD_GetCurrentFileName (ImGuiFileDialog *vContextPtr, IGFD_ResultMode vMode)
 
IGFD_C_API char * IGFD_GetCurrentPath (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API char * IGFD_GetCurrentFilter (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API void * IGFD_GetUserDatas (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API void IGFD_SetFileStyle (ImGuiFileDialog *vContextPtr, IGFD_FileStyleFlags vFlags, const char *vCriteria, ImVec4 vColor, const char *vIcon, ImFont *vFont)
 
IGFD_C_API void IGFD_SetFileStyle2 (ImGuiFileDialog *vContextPtr, IGFD_FileStyleFlags vFlags, const char *vCriteria, float vR, float vG, float vB, float vA, const char *vIcon, ImFont *vFont)
 
IGFD_C_API bool IGFD_GetFileStyle (ImGuiFileDialog *vContextPtr, IGFD_FileStyleFlags vFlags, const char *vCriteria, ImVec4 *vOutColor, char **vOutIconText, ImFont **vOutFont)
 
IGFD_C_API void IGFD_ClearFilesStyle (ImGuiFileDialog *vContextPtr)
 
IGFD_C_API void SetLocales (ImGuiFileDialog *vContextPtr, const int vCategory, const char *vBeginLocale, const char *vEndLocale)
 
IGFD_C_API void IGFD_SetFlashingAttenuationInSeconds (ImGuiFileDialog *vContextPtr, float vAttenValue)
 
IGFD_C_API char * IGFD_SerializeBookmarks (ImGuiFileDialog *vContextPtr, bool vDontSerializeCodeBasedBookmarks)
 
IGFD_C_API void IGFD_DeserializeBookmarks (ImGuiFileDialog *vContextPtr, const char *vBookmarks)
 
IGFD_C_API void IGFD_AddBookmark (ImGuiFileDialog *vContextPtr, const char *vBookMarkName, const char *vBookMarkPath)
 
IGFD_C_API void IGFD_RemoveBookmark (ImGuiFileDialog *vContextPtr, const char *vBookMarkName)
 

Function Documentation

◆ IGFD_AddBookmark()

IGFD_C_API void IGFD_AddBookmark ( ImGuiFileDialog *  vContextPtr,
const char *  vBookMarkName,
const char *  vBookMarkPath 
)

Definition at line 4807 of file ImGuiFileDialog.cc.

◆ IGFD_ClearFilesStyle()

IGFD_C_API void IGFD_ClearFilesStyle ( ImGuiFileDialog *  vContextPtr)

Definition at line 4758 of file ImGuiFileDialog.cc.

◆ IGFD_CloseDialog()

IGFD_C_API void IGFD_CloseDialog ( ImGuiFileDialog *  vContextPtr)

Definition at line 4538 of file ImGuiFileDialog.cc.

◆ IGFD_Create()

IGFD_C_API ImGuiFileDialog * IGFD_Create ( void  )

Definition at line 4499 of file ImGuiFileDialog.cc.

◆ IGFD_DeserializeBookmarks()

IGFD_C_API void IGFD_DeserializeBookmarks ( ImGuiFileDialog *  vContextPtr,
const char *  vBookmarks 
)

Definition at line 4801 of file ImGuiFileDialog.cc.

◆ IGFD_Destroy()

IGFD_C_API void IGFD_Destroy ( ImGuiFileDialog *  vContextPtr)

Definition at line 4504 of file ImGuiFileDialog.cc.

◆ IGFD_DisplayDialog()

IGFD_C_API bool IGFD_DisplayDialog ( ImGuiFileDialog *  vContextPtr,
const char *  vKey,
ImGuiWindowFlags  vFlags,
ImVec2  vMinSize,
ImVec2  vMaxSize 
)

Definition at line 4531 of file ImGuiFileDialog.cc.

◆ IGFD_FileDialog_Config_Get()

IGFD_C_API IGFD_FileDialog_Config IGFD_FileDialog_Config_Get ( )

Definition at line 4451 of file ImGuiFileDialog.cc.

◆ IGFD_GetCurrentFileName()

IGFD_C_API char * IGFD_GetCurrentFileName ( ImGuiFileDialog *  vContextPtr,
IGFD_ResultMode  vMode 
)

Definition at line 4648 of file ImGuiFileDialog.cc.

◆ IGFD_GetCurrentFilter()

IGFD_C_API char * IGFD_GetCurrentFilter ( ImGuiFileDialog *  vContextPtr)

Definition at line 4692 of file ImGuiFileDialog.cc.

◆ IGFD_GetCurrentPath()

IGFD_C_API char * IGFD_GetCurrentPath ( ImGuiFileDialog *  vContextPtr)

Definition at line 4670 of file ImGuiFileDialog.cc.

◆ IGFD_GetFilePathName()

IGFD_C_API char * IGFD_GetFilePathName ( ImGuiFileDialog *  vContextPtr,
IGFD_ResultMode  vMode 
)

Definition at line 4626 of file ImGuiFileDialog.cc.

◆ IGFD_GetFileStyle()

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

Definition at line 4736 of file ImGuiFileDialog.cc.

◆ IGFD_GetSelection()

IGFD_C_API IGFD_Selection IGFD_GetSelection ( ImGuiFileDialog *  vContextPtr,
IGFD_ResultMode  vMode 
)

Definition at line 4582 of file ImGuiFileDialog.cc.

References IGFD_Selection_Get().

◆ IGFD_GetUserDatas()

IGFD_C_API void * IGFD_GetUserDatas ( ImGuiFileDialog *  vContextPtr)

Definition at line 4714 of file ImGuiFileDialog.cc.

◆ IGFD_IsKeyOpened()

IGFD_C_API bool IGFD_IsKeyOpened ( ImGuiFileDialog *  vContextPtr,
const char *  vCurrentOpenedKey 
)

Definition at line 4566 of file ImGuiFileDialog.cc.

◆ IGFD_IsOk()

IGFD_C_API bool IGFD_IsOk ( ImGuiFileDialog *  vContextPtr)

Definition at line 4544 of file ImGuiFileDialog.cc.

◆ IGFD_IsOpened()

IGFD_C_API bool IGFD_IsOpened ( ImGuiFileDialog *  vContextPtr)

Definition at line 4574 of file ImGuiFileDialog.cc.

◆ IGFD_OpenDialog()

IGFD_C_API void IGFD_OpenDialog ( ImGuiFileDialog *  vContextPtr,
const char *  vKey,
const char *  vTitle,
const char *  vFilters,
const IGFD_FileDialog_Config  vConfig 
)

Definition at line 4511 of file ImGuiFileDialog.cc.

◆ IGFD_RemoveBookmark()

IGFD_C_API void IGFD_RemoveBookmark ( ImGuiFileDialog *  vContextPtr,
const char *  vBookMarkName 
)

Definition at line 4813 of file ImGuiFileDialog.cc.

◆ IGFD_Selection_DestroyContent()

IGFD_C_API void IGFD_Selection_DestroyContent ( IGFD_Selection *  vSelection)

Definition at line 4486 of file ImGuiFileDialog.cc.

References IGFD_Selection_Pair_DestroyContent().

◆ IGFD_Selection_Get()

IGFD_C_API IGFD_Selection IGFD_Selection_Get ( void  )

Definition at line 4481 of file ImGuiFileDialog.cc.

Referenced by IGFD_GetSelection().

◆ IGFD_Selection_Pair_DestroyContent()

IGFD_C_API void IGFD_Selection_Pair_DestroyContent ( IGFD_Selection_Pair *  vSelection_Pair)

Definition at line 4473 of file ImGuiFileDialog.cc.

Referenced by IGFD_Selection_DestroyContent().

◆ IGFD_Selection_Pair_Get()

IGFD_C_API IGFD_Selection_Pair IGFD_Selection_Pair_Get ( void  )

Definition at line 4465 of file ImGuiFileDialog.cc.

◆ IGFD_SerializeBookmarks()

IGFD_C_API char * IGFD_SerializeBookmarks ( ImGuiFileDialog *  vContextPtr,
bool  vDontSerializeCodeBasedBookmarks 
)

Definition at line 4779 of file ImGuiFileDialog.cc.

◆ IGFD_SetFileStyle()

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

Definition at line 4722 of file ImGuiFileDialog.cc.

◆ IGFD_SetFileStyle2()

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

Definition at line 4730 of file ImGuiFileDialog.cc.

◆ IGFD_SetFlashingAttenuationInSeconds()

IGFD_C_API void IGFD_SetFlashingAttenuationInSeconds ( ImGuiFileDialog *  vContextPtr,
float  vAttenValue 
)

Definition at line 4771 of file ImGuiFileDialog.cc.

◆ IGFD_WasKeyOpenedThisFrame()

IGFD_C_API bool IGFD_WasKeyOpenedThisFrame ( ImGuiFileDialog *  vContextPtr,
const char *  vKey 
)

Definition at line 4551 of file ImGuiFileDialog.cc.

◆ IGFD_WasOpenedThisFrame()

IGFD_C_API bool IGFD_WasOpenedThisFrame ( ImGuiFileDialog *  vContextPtr)

Definition at line 4558 of file ImGuiFileDialog.cc.

◆ SetLocales()

IGFD_C_API void SetLocales ( ImGuiFileDialog *  vContextPtr,
const int  vCategory,
const char *  vBeginLocale,
const char *  vEndLocale 
)

Definition at line 4764 of file ImGuiFileDialog.cc.