MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / SetCreateThumbnailCallback

Function SetCreateThumbnailCallback

ImGuiFileDialog.cpp:5247–5251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5245
5246#ifdef USE_THUMBNAILS
5247IGFD_C_API void SetCreateThumbnailCallback(ImGuiFileDialog* vContextPtr, const IGFD_CreateThumbnailFun vCreateThumbnailFun) {
5248 if (vContextPtr != nullptr) {
5249 vContextPtr->SetCreateThumbnailCallback(vCreateThumbnailFun);
5250 }
5251}
5252
5253IGFD_C_API void SetDestroyThumbnailCallback(ImGuiFileDialog* vContextPtr, const IGFD_DestroyThumbnailFun vDestroyThumbnailFun) {
5254 if (vContextPtr != nullptr) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected