|
Blender V4.3
|
#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 234 of file UI_interface.hh.
| uiListNameFilter::uiListNameFilter | ( | uiList & | list | ) |
Definition at line 154 of file interface_template_list.cc.
References BLI_strncpy_ensure_pad(), and MEM_mallocN.
| uiListNameFilter::~uiListNameFilter | ( | ) |
Definition at line 173 of file interface_template_list.cc.
References MEM_SAFE_FREE.
| eUIListFilterResult uiListNameFilter::operator() | ( | const PointerRNA & | itemptr, |
| blender::StringRefNull | name, | ||
| int | index ) |
Definition at line 178 of file interface_template_list.cc.
References UI_LIST_ITEM_FILTER_MATCHES, and UI_LIST_ITEM_FILTER_MISMATCHES.
| char uiListNameFilter::filter_buff[32] |
Definition at line 237 of file UI_interface.hh.
| char* uiListNameFilter::filter_dyn = nullptr |
Definition at line 238 of file UI_interface.hh.