gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

notagtreeitem.cpp (538B)


      1 #include "notagtreeitem.h"
      2 
      3 namespace jucePluginEditorLib::patchManager
      4 {
      5 	NoTagTreeItem::NoTagTreeItem(PatchManager& _pm, const pluginLib::patchDB::TagType _type, const std::string& _title) : TreeItem(_pm, _title), m_tagType(_type)
      6 	{
      7 		onParentSearchChanged({});
      8 	}
      9 
     10 	void NoTagTreeItem::onParentSearchChanged(const pluginLib::patchDB::SearchRequest& _parentSearchRequest)
     11 	{
     12 		TreeItem::onParentSearchChanged(_parentSearchRequest);
     13 		auto req = _parentSearchRequest;
     14 		req.noTagOfType.insert(m_tagType);
     15 		search(std::move(req));
     16 	}
     17 }