MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / IsCoveredByFilters

Method IsCoveredByFilters

external/ImGuiFileDialog/ImGuiFileDialog.cpp:1676–1682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1674}
1675
1676bool IGFD::FilterManager::IsCoveredByFilters(const FileInfos& vFileInfos, bool vIsCaseInsensitive) const {
1677 if (!dLGFilters.empty() && !m_SelectedFilter.empty()) {
1678 return (m_SelectedFilter.exist(vFileInfos, vIsCaseInsensitive) || m_SelectedFilter.regexExist(vFileInfos.fileNameExt));
1679 }
1680
1681 return false;
1682}
1683
1684float IGFD::FilterManager::GetFilterComboBoxWidth() const {
1685#if FILTER_COMBO_AUTO_SIZE

Callers 1

m_AddFileMethod · 0.80

Calls 3

regexExistMethod · 0.80
emptyMethod · 0.45
existMethod · 0.45

Tested by

no test coverage detected