Blender
V3.3
|
#include <string.h>
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_texture_types.h"
#include "BLI_alloca.h"
#include "BLI_ghash.h"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "interface_intern.h"
Go to the source code of this file.
Functions | |
Operator Search Template Implementation | |
static void | operator_search_exec_fn (bContext *C, void *UNUSED(arg1), void *arg2) |
static void | operator_search_update_fn (const bContext *C, void *UNUSED(arg), const char *str, uiSearchItems *items, const bool UNUSED(is_first)) |
Operator Search Template API | |
void | UI_but_func_operator_search (uiBut *but) |
void | uiTemplateOperatorSearch (uiLayout *layout) |
Search available operators by scanning all and checking their poll function. accessed via the WM_OT_search_operator operator.
Definition in file interface_template_search_operator.c.
Definition at line 36 of file interface_template_search_operator.c.
References C, NULL, ot, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call_ptr().
Referenced by UI_but_func_operator_search().
|
static |
Definition at line 45 of file interface_template_search_operator.c.
References BLI_array_alloca, BLI_ghashIterator_done(), BLI_ghashIterator_getValue(), BLI_ghashIterator_step(), BLI_string_all_words_matched(), BLI_string_find_split_words(), BLI_string_max_possible_word_count(), BLI_strncpy(), C, CTX_IFACE_, wmOperatorType::flag, G, G_DEBUG_WM, wmOperatorType::idname, len, wmOperatorType::name, NULL, OPTYPE_INTERNAL, ot, str, wmOperatorType::translation_context, UI_search_item_add(), UI_SEP_CHAR, WM_key_event_operator_string(), WM_OP_EXEC_DEFAULT, WM_operator_poll(), and WM_operatortype_iter().
Referenced by UI_but_func_operator_search().
Definition at line 103 of file interface_template_search_operator.c.
References NULL, operator_search_exec_fn(), operator_search_update_fn(), UI_but_func_search_set(), and ui_searchbox_create_operator().
Referenced by uiTemplateOperatorSearch(), and wm_block_search_menu().
Definition at line 115 of file interface_template_search_operator.c.
References UI_block_layout_set_current(), UI_but_func_operator_search(), UI_UNIT_X, UI_UNIT_Y, uiDefSearchBut(), and uiLayoutGetBlock().