| 1051 | typedef void (*IGFD_PaneFun)(const char*, void*, bool*); // callback fucntion for display the pane |
| 1052 | |
| 1053 | struct IGFD_FileDialog_Config { |
| 1054 | const char* path; // path |
| 1055 | const char* fileName; // defaut file name |
| 1056 | const char* filePathName; // if not empty, the filename and the path will be obtained from filePathName |
| 1057 | int32_t countSelectionMax; // count selection max |
| 1058 | void* userDatas; // user datas (can be retrieved in pane) |
| 1059 | IGFD_PaneFun sidePane; // side pane callback |
| 1060 | float sidePaneWidth; // side pane width}; |
| 1061 | ImGuiFileDialogFlags flags; // ImGuiFileDialogFlags |
| 1062 | }; |
| 1063 | IGFD_C_API struct IGFD_FileDialog_Config IGFD_FileDialog_Config_Get(); // return an initialized IGFD_FileDialog_Config |
| 1064 | |
| 1065 | struct IGFD_Selection_Pair { |
nothing calls this directly
no outgoing calls
no test coverage detected