Blender V5.3
interface_template_search.cc File Reference
#include "BLI_string_ref.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "BLT_translation.hh"
#include "ANIM_action.hh"
#include "UI_interface_layout.hh"
#include "interface_intern.hh"
#include "interface_templates_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::TemplateSearch

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

static void blender::ui::template_search_exec_fn (bContext *C, void *arg_template, void *item)
static Block * blender::ui::template_search_menu (bContext *C, ARegion *region, void *arg_template)
static void blender::ui::template_search_add_button_searchmenu (const bContext *C, Layout *layout, Block *block, TemplateSearch &template_search, const bool editable, const bool live_icon)
static void blender::ui::template_search_add_button_name (Block *block, PointerRNA *active_ptr, const StructRNA *type)
static void blender::ui::template_search_add_button_operator (Block *block, const char *const operator_name, const wm::OpCallContext opcontext, const int icon, const bool editable, const std::optional< StringRefNull > button_text={})
static void blender::ui::template_search_buttons (const bContext *C, Layout &layout, TemplateSearch &template_search, const char *newop, const char *unlinkop, const std::optional< StringRef > text)
static PropertyRNA * blender::ui::template_search_get_searchprop (PointerRNA *targetptr, PropertyRNA *targetprop, PointerRNA *searchptr, const char *const searchpropname)
static bool blender::ui::template_search_setup (TemplateSearch &template_search, PointerRNA *ptr, const StringRefNull propname, PointerRNA *searchptr, const char *const searchpropname)
void blender::ui::template_search (Layout *layout, const bContext *C, PointerRNA *ptr, StringRefNull propname, PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop, std::optional< StringRef > text=std::nullopt)
void blender::ui::template_search_preview (Layout *layout, bContext *C, PointerRNA *ptr, StringRefNull propname, PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop, int rows, int cols, std::optional< StringRef > text=std::nullopt)