63 const bool UNUSED(is_first))
68 const size_t str_len = strlen(
str);
85 const int len = strlen(ot_ui_name);
91 if (
len <
sizeof(name) - 6) {
98 sizeof(name) -
len - 1)) {
133 static char search[256] =
"";
139 block, search, 0, ICON_VIEWZOOM,
sizeof(search), 0, 0,
UI_UNIT_X * 6,
UI_UNIT_Y, 0, 0,
"");
#define BLI_array_alloca(arr, realsize)
void BLI_ghashIterator_step(GHashIterator *ghi)
BLI_INLINE bool BLI_ghashIterator_done(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT
BLI_INLINE void * BLI_ghashIterator_getValue(GHashIterator *ghi) ATTR_WARN_UNUSED_RESULT
bool BLI_string_all_words_matched(const char *name, const char *str, int(*words)[2], const int words_len)
size_t int BLI_string_max_possible_word_count(const int str_len)
int BLI_string_find_split_words(const char *str, const size_t len, const char delim, int r_words[][2], int words_max) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
#define CTX_IFACE_(context, msgid)
Object is a sort of wrapper for general info.
uiBlock * uiLayoutGetBlock(uiLayout *layout)
bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid, int state, const uint8_t name_prefix_offset)
void UI_but_func_search_set(uiBut *but, uiButSearchCreateFn search_create_fn, uiButSearchUpdateFn search_update_fn, void *arg, const bool free_arg, uiButSearchArgFreeFn search_arg_free_fn, uiButHandleFunc search_exec_fn, void *active)
uiBut * uiDefSearchBut(uiBlock *block, void *arg, int retval, int icon, int maxlen, int x, int y, short width, short height, float a1, float a2, const char *tip)
void UI_block_layout_set_current(uiBlock *block, uiLayout *layout)
struct ARegion * ui_searchbox_create_operator(struct bContext *C, struct ARegion *butregion, uiButSearch *search_but)
static void operator_search_update_fn(const bContext *C, void *UNUSED(arg), const char *str, uiSearchItems *items, const bool UNUSED(is_first))
void uiTemplateOperatorSearch(uiLayout *layout)
void UI_but_func_operator_search(uiBut *but)
static void operator_search_exec_fn(bContext *C, void *UNUSED(arg1), void *arg2)
const char * translation_context
bool WM_operator_poll(bContext *C, wmOperatorType *ot)
int WM_operator_name_call_ptr(bContext *C, wmOperatorType *ot, short context, PointerRNA *properties)
char * WM_key_event_operator_string(const bContext *C, const char *opname, int opcontext, IDProperty *properties, const bool is_strict, char *result, const int result_len)
void WM_operatortype_iter(GHashIterator *ghi)