MCPcopy Create free account
hub / github.com/dfranx/ImFileDialog / m_refreshIconPreview

Method m_refreshIconPreview

ImFileDialog.cpp:839–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837 m_icons.clear();
838 }
839 void FileDialog::m_refreshIconPreview()
840 {
841 if (m_zoom >= 5.0f) {
842 if (m_previewLoader == nullptr) {
843 m_previewLoaderRunning = true;
844 m_previewLoader = new std::thread(&FileDialog::m_loadPreview, this);
845 }
846 } else
847 m_clearIconPreview();
848 }
849 void FileDialog::m_clearIconPreview()
850 {
851 m_stopPreviewLoader();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected