|
Blender V5.0
|
#include <UI_interface.hh>
Public Member Functions | |
| uiListNameFilter (uiList &list) | |
| ~uiListNameFilter () | |
| eUIListFilterResult | operator() (const PointerRNA &itemptr, blender::StringRefNull name, int index) |
Function object for UI list item filtering that does the default name comparison with '*' wildcards. Create an instance of this once and pass it to UI_list_filter_and_sort_items(), do NOT create an instance for every item, this would be costly.
Definition at line 241 of file UI_interface.hh.
| uiListNameFilter::uiListNameFilter | ( | uiList & | list | ) |
Definition at line 147 of file interface_template_list.cc.
References BLI_strncpy_ensure_pad(), uiList::filter_byname, and MEM_malloc_arrayN().
| uiListNameFilter::~uiListNameFilter | ( | ) |
Definition at line 165 of file interface_template_list.cc.
References MEM_SAFE_FREE.
| eUIListFilterResult uiListNameFilter::operator() | ( | const PointerRNA & | itemptr, |
| blender::StringRefNull | name, | ||
| int | index ) |
Definition at line 170 of file interface_template_list.cc.
References name, UI_LIST_ITEM_FILTER_MATCHES, and UI_LIST_ITEM_FILTER_MISMATCHES.
| char uiListNameFilter::filter_buff[32] |
Definition at line 244 of file UI_interface.hh.
| char* uiListNameFilter::filter_dyn = nullptr |
Definition at line 245 of file UI_interface.hh.