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

Method IsCoveredByFilters

ImGuiFileDialog.cpp:1614–1620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1612}
1613
1614bool IGFD::FilterManager::IsCoveredByFilters(const FileInfos& vFileInfos, bool vIsCaseInsensitive) const {
1615 if (!dLGFilters.empty() && !m_SelectedFilter.empty()) {
1616 return (m_SelectedFilter.exist(vFileInfos, vIsCaseInsensitive) || m_SelectedFilter.regexExist(vFileInfos.fileNameExt));
1617 }
1618
1619 return false;
1620}
1621
1622float IGFD::FilterManager::GetFilterComboBoxWidth() const {
1623#if FILTER_COMBO_AUTO_SIZE

Callers 1

m_AddFileMethod · 0.80

Calls 2

emptyMethod · 0.80
existMethod · 0.80

Tested by

no test coverage detected