11#include <fmt/format.h>
58#include "RNA_prototypes.hh"
164 std::optional<std::string> path;
197 ot->
name =
"Copy Data Path";
198 ot->
idname =
"UI_OT_copy_data_path_button";
199 ot->
description =
"Copy the RNA data path for this property to the clipboard";
254 bmain, &ptr, prop, dim,
index, &
id))
270 ot->
name =
"Copy as New Driver";
271 ot->
idname =
"UI_OT_copy_as_driver_button";
273 "Create a new driver with this property as input, and copy it to the "
274 "internal clipboard. Use Paste Driver to add it to the target property, "
275 "or Paste Driver Variables to extend an existing driver";
295 if (but && (but->
optype !=
nullptr)) {
306 if (but && (but->
optype !=
nullptr)) {
323 ot->
name =
"Copy Python Command";
324 ot->
idname =
"UI_OT_copy_python_command_button";
325 ot->
description =
"Copy the Python command matching this button";
401 const int array_index = (
all) ? -1 :
index;
418 ot->
name =
"Reset to Default Value";
419 ot->
idname =
"UI_OT_reset_default_button";
420 ot->
description =
"Reset this property's value to its default value";
433 ot->
srna,
"all",
true,
"All",
"Reset to default values all elements of the array");
482 ot->
name =
"Assign Value as Default";
483 ot->
idname =
"UI_OT_assign_default_button";
484 ot->
description =
"Set this property's current value as the new default";
524 ot->
name =
"Unset Property";
525 ot->
idname =
"UI_OT_unset_property_button";
526 ot->
description =
"Clear the property and use default or generated value in operators";
578 if (opop ==
nullptr) {
597 ot->
name =
"Add Override";
598 ot->
idname =
"UI_OT_override_add_button";
609 RNA_def_boolean(ot->
srna,
"all",
true,
"All",
"Add overrides for all elements of the array");
641 BLI_assert(
id !=
nullptr &&
id->override_library !=
nullptr);
647 BLI_assert_msg(0,
"Failed to create matching source (linked data) RNA pointer");
655 oprop,
nullptr,
nullptr, {}, {},
index,
index,
false, &is_strict_find);
657 if (!is_strict_find) {
664 oprop, opop->
operation,
nullptr,
nullptr, {}, {}, idx, idx,
true,
nullptr,
nullptr);
689 ot->
name =
"Remove Override";
690 ot->
idname =
"UI_OT_override_remove_button";
702 ot->
srna,
"all",
true,
"All",
"Reset to default values all elements of the array");
712 if (!owner_ptr || prop ==
nullptr) {
713 *r_owner_id = *r_id =
nullptr;
714 if (r_owner_ptr !=
nullptr) {
717 if (r_prop !=
nullptr) {
725 *r_id =
static_cast<ID *
>(idptr.
data);
726 if (r_owner_ptr !=
nullptr) {
727 *r_owner_ptr = owner_ptr;
729 if (r_prop !=
nullptr) {
739 if (owner_id ==
nullptr ||
id ==
nullptr) {
772 if (
ELEM(
nullptr, owner_id,
id)) {
779 if (id_override ==
nullptr) {
809 ot->
name =
"Make Library Override";
810 ot->
idname =
"UI_OT_override_idtemplate_make";
812 "Create a local override of the selected linked data-block, and its hierarchy of "
834 if (
ELEM(
nullptr, owner_id,
id)) {
858 ot->
name =
"Reset Library Override";
859 ot->
idname =
"UI_OT_override_idtemplate_reset";
860 ot->
description =
"Reset the selected local override to its linked reference values";
881 if (
ELEM(
nullptr, owner_id,
id)) {
896 bool do_remap_active =
false;
901 do_remap_active =
true;
904 if (do_remap_active) {
905 Object *ref_object = id_cast<Object *>(id_new);
907 if (basact !=
nullptr) {
908 view_layer->
basact = basact;
936 ot->
name =
"Clear Library Override";
937 ot->
idname =
"UI_OT_override_idtemplate_clear";
939 "Delete the selected local override and relink its usages to the linked data-block if "
940 "possible, else reset it and mark it as non editable";
956 if (owner_id ==
nullptr ||
id ==
nullptr) {
969 layout.
op(
"UI_OT_override_idtemplate_make",
IFACE_(
"Make"), ICON_NONE);
970 layout.
op(
"UI_OT_override_idtemplate_reset",
IFACE_(
"Reset"), ICON_NONE);
971 layout.
op(
"UI_OT_override_idtemplate_clear",
IFACE_(
"Clear"), ICON_NONE);
1020 *r_lb = std::move(lb);
1034 const FCurve *fcu =
static_cast<const FCurve *
>(ptr.data);
1051 Key *containing_key =
reinterpret_cast<Key *
>(owner_id_key);
1069 const bool is_generic_prop =
STR_ELEM(
1070 prop_id,
"socket_type",
"description",
"optional_label",
"hide_value",
"hide_in_modifier");
1079 if (is_generic_prop) {
1082 return !
STREQ(prop_id,
"socket_type");
1086 if (
STREQ(prop_id,
"structure_type")) {
1094 return sock.socket_typeinfo()->type == active_sock.socket_typeinfo()->type;
1125 bool *r_use_path_from_id,
1126 std::optional<std::string> *r_path)
1128 *r_use_path_from_id =
false;
1129 *r_path = std::nullopt;
1133 bool ensure_list_items_contain_prop =
false;
1145 std::optional<std::string> idpath;
1189 if (
STREQ(prop_id,
"lock")) {
1229 printf(
"BoneColor is unexpectedly owned by %s '%s'\n",
1233 "expected BoneColor to be owned by the Armature "
1234 "(bone & edit bone) or the Object (pose bone)");
1244 *r_lb = list_of_things;
1250 if (
STREQ(prop_id,
"lock")) {
1259 ensure_list_items_contain_prop =
true;
1284 else if (
const std::optional<std::string> path_from_bone =
1289 *r_path = path_from_bone;
1293 std::optional<std::string> path;
1319 if (node_data->
idname != node_idname) {
1336 *r_lb = list_of_things;
1344 ListBaseT<LinkData> selected_objects = {
nullptr};
1346 for (
LinkData &link : selected_objects) {
1356 *r_use_path_from_id =
true;
1361 const short id_code =
GS(
id->name);
1368 Object *ob = id_cast<Object *>(ob_ptr.owner_id);
1369 if (
ID *id_data = ob->
data) {
1376 Object *ob = id_cast<Object *>(link.owner_id);
1391 lb = std::move(new_lb);
1402 if (r_path->has_value()) {
1406 if (is_rna &&
STREQ(prop_id,
"lock")) {
1415 ensure_list_items_contain_prop =
true;
1419 return r_path->has_value();
1426 if (!r_path->has_value()) {
1431 ensure_list_items_contain_prop =
true;
1434 if (ensure_list_items_contain_prop) {
1454 &link, r_path->has_value() ? r_path->value().c_str() :
nullptr, &lptr, &lprop);
1456 if (lprop ==
nullptr) {
1483 bool use_path_from_id,
1494 if (use_path_from_id) {
1518 if (lprop ==
nullptr) {
1544 ignore_prop_eq =
false;
1549 ignore_prop_eq =
true;
1553 if ((lprop != prop) && !ignore_prop_eq) {
1589 if (!ptr || prop ==
nullptr) {
1593 bool success =
false;
1594 std::optional<std::string> path;
1595 bool use_path_from_id;
1600 if (link.data == ptr.
data) {
1607 path.has_value() ? path->c_str() :
nullptr,
1648 ot->
name =
"Copy to Selected";
1649 ot->
idname =
"UI_OT_copy_to_selected_button";
1651 "Copy the property's value from the active item to the same property of all selected items "
1652 "if the same property exists";
1662 RNA_def_boolean(ot->
srna,
"all",
true,
"All",
"Copy to selected all elements of the array");
1682 if (!path.has_value()) {
1693 if (!is_array_prop) {
1705 for (
int i = 0; i < drivers.
size(); i++) {
1706 if (get_all || i ==
index) {
1715 bool fetched_at_least_one =
false;
1716 for (
const FCurve *driver : drivers) {
1717 fetched_at_least_one |= driver !=
nullptr;
1719 if (!fetched_at_least_one) {
1723 if (r_is_array_prop) {
1724 *r_is_array_prop = is_array_prop;
1731 const bool is_array_prop,
1740 if (!dst_path.has_value()) {
1749 int paste_count = 0;
1750 for (
int i = 0; i < src_drivers.
size(); i++) {
1751 if (!src_drivers[i]) {
1754 const int dst_index = is_array_prop ? i : 0;
1765 dst_ptr, dst_prop, dst_index,
nullptr,
nullptr, &driven,
nullptr);
1766 if (fcu && !driven) {
1788 new_driver->rna_path_set(dst_path.value());
1833 copy_entire_array |=
index == -1;
1836 bool is_array_prop =
false;
1838 &ptr, prop, copy_entire_array,
index, &is_array_prop);
1845 std::optional<std::string> path;
1846 bool use_path_from_id;
1854 int total_copy_count = 0;
1855 for (
PointerRNA &target_prop : target_properties) {
1856 if (target_prop.data == ptr.
data) {
1867 path.has_value() ? path->c_str() :
nullptr,
1885 src_drivers.
as_span(), is_array_prop, &dst_ptr, dst_prop);
1886 if (paste_count == 0) {
1891 total_copy_count += paste_count;
1894 return total_copy_count > 0;
1918 ot->
name =
"Copy Driver to Selected";
1919 ot->
idname =
"UI_OT_copy_driver_to_selected_button";
1921 "Copy the property's driver from the active item to the same property "
1922 "of all selected items, if the same property exists";
1933 ot->
srna,
"all",
false,
"All",
"Copy to selected the drivers of all elements of the array");
1953 if (
ELEM(ptr.
type, RNA_EditBone, RNA_PoseBone, RNA_Bone)) {
1955 if (bone_name[0] !=
'\0') {
1956 target_type = RNA_Bone;
1960 target_type = RNA_Object;
1963 if (target_type ==
nullptr) {
1971 Base *base =
nullptr;
1973 if (id_type ==
ID_OB) {
1990 const bool reveal_hidden =
true;
1992 if (target_type == RNA_Bone) {
1995 else if (target_type == RNA_Object) {
2041 &ptr, prop, str_buf,
sizeof(str_buf),
nullptr);
2046 if (coll_search->search_prop !=
nullptr) {
2048 &coll_search->search_ptr, coll_search->search_prop, str_ptr, &target_ptr);
2051 if (str_ptr != str_buf) {
2052 MEM_delete(str_ptr);
2080 ot->
name =
"Jump to Target";
2081 ot->
idname =
"UI_OT_jump_to_target_button";
2082 ot->
description =
"Switch to the target object or bone";
2104struct EditSourceButStore {
2106 int py_dbg_line_number = 0;
2109struct EditSourceStore {
2111 Map<const Button *, std::unique_ptr<EditSourceButStore>>
hash;
2113 EditSourceStore(
const Button &but) : but_orig{but} {};
2117static EditSourceStore *editsource_info =
nullptr;
2121 return (editsource_info !=
nullptr);
2124static void editsource_active_but_set(
Button *but)
2128 editsource_info = MEM_new<EditSourceStore>(__func__, *but);
2131static void editsource_active_but_clear()
2133 MEM_delete(editsource_info);
2134 editsource_info =
nullptr;
2137static bool editsource_uibut_match(
const Button *but_a,
const Button *but_b)
2157 auto but_store = std::make_unique<EditSourceButStore>();
2163 printf(
"comparing buttons: '%s' == '%s'\n", but->
drawstr, editsource_info->but_orig.drawstr);
2169 STRNCPY(but_store->py_dbg_fn, fn);
2173 but_store->py_dbg_fn[0] =
'\0';
2174 but_store->py_dbg_line_number = -1;
2177 editsource_info->hash.add(but, std::move(but_store));
2201 ARegion *region =
nullptr;
2207 ctx_store,
"popup_region", RNA_Region) :
2209 if (region_ptr && region_ptr->
has_data()) {
2210 region = region_ptr->
data_as<ARegion>();
2215 "Cannot edit source in popup regions that does not support refresh.");
2231 editsource_active_but_set(but);
2241 Set<const Button *> valid_buttons_in_region;
2244 for (
Block *block :
Span(block_pair, block_pair[1] ? 2 : 1)) {
2245 for (
Button &but : block->buttons()) {
2246 valid_buttons_in_region.
add(&but);
2251 EditSourceButStore *but_store =
nullptr;
2252 for (
const auto &item : editsource_info->hash.items()) {
2253 const Button *but_key = item.key;
2254 if (but_key ==
nullptr) {
2258 if (!valid_buttons_in_region.
contains(but_key)) {
2262 if (editsource_uibut_match(&editsource_info->but_orig, but_key)) {
2263 but_store = item.value.get();
2269 if (but_store->py_dbg_line_number != -1) {
2270 ret = editsource_text_edit(
C, op, but_store->py_dbg_fn, but_store->py_dbg_line_number);
2274 op->
reports,
RPT_ERROR,
"Active button is not from a script, cannot edit source");
2283 editsource_active_but_clear();
2294static void UI_OT_editsource(wmOperatorType *ot)
2297 ot->
name =
"Edit Source";
2298 ot->
idname =
"UI_OT_editsource";
2299 ot->
description =
"Edit UI source code of the active button";
2302 ot->
exec = editsource_exec;
2325 ot->
name =
"Reload Translation";
2326 ot->
idname =
"UI_OT_reloadtranslation";
2327 ot->
description =
"Force a full reload of UI translation";
2346 if (region ==
nullptr) {
2347 region = region_prev;
2350 if (region ==
nullptr) {
2358 if (but ==
nullptr) {
2367 void *but_optype = but->
optype;
2380 ot->
name =
"Press Button";
2381 ot->
idname =
"UI_OT_button_execute";
2409 ot->
name =
"Clear Button String";
2410 ot->
idname =
"UI_OT_button_string_clear";
2411 ot->
description =
"Unsets the text of the active button";
2509 ot->
name =
"Drop Color";
2510 ot->
idname =
"UI_OT_drop_color";
2519 ot->
srna,
"color", 4,
nullptr, 0.0,
FLT_MAX,
"Color",
"Source color", 0.0, 1.0);
2521 ot->
srna,
"gamma",
false,
"Gamma Corrected",
"The source color is gamma corrected");
2523 ot->
srna,
"has_alpha",
false,
"Has Alpha",
"The source color contains an Alpha component");
2562 ot->
name =
"Drop Name";
2563 ot->
idname =
"UI_OT_drop_name";
2571 ot->
srna,
"string",
nullptr, 0,
"String",
"The string value to drop into the button");
2589 return list !=
nullptr;
2626 ot->
name =
"List Filter";
2627 ot->
idname =
"UI_OT_list_start_filter";
2628 ot->
description =
"Start entering filter text for the list in focus";
2658 return view !=
nullptr;
2677 ot->
name =
"View Filter";
2678 ot->
idname =
"UI_OT_view_start_filter";
2679 ot->
description =
"Start entering filter text for the data-set in focus";
2700 if (region ==
nullptr) {
2720 *
static_cast<const ListBaseT<wmDrag> *
>(event->
customdata)))
2731 ot->
name =
"View Drop";
2732 ot->
idname =
"UI_OT_view_drop";
2733 ot->
description =
"Drag and drop onto a data-set or item within the data-set";
2760 int type =
event->type;
2761 bool invert_direction =
false;
2769 invert_direction =
true;
2774 std::optional<ViewScrollDirection> direction =
2775 [type, invert_direction]() -> std::optional<ViewScrollDirection> {
2782 return std::nullopt;
2795 view->
scroll(*direction);
2803 ot->
name =
"View Scroll";
2804 ot->
idname =
"UI_OT_view_scroll";
2832 active_item = &item;
2841 if (view ==
nullptr) {
2855 tree_view->scroll_active_into_view(
C,
true);
2866 ot->
name =
"Rename View Item";
2867 ot->
idname =
"UI_OT_view_item_rename";
2868 ot->
description =
"Rename the active item in the data-set view";
2890 const bool range_select,
2891 bool wait_to_deselect_others)
2893 const bool already_selected = clicked_item && clicked_item->
is_selected();
2895 if (extend || range_select) {
2896 wait_to_deselect_others =
false;
2899 if (clicked_item && already_selected && wait_to_deselect_others) {
2907 if (clicked_item ==
nullptr) {
2913 bool is_inside_range =
false;
2915 if (item.
is_active() ^ (&item == clicked_item)) {
2916 is_inside_range = !is_inside_range;
2926 if (is_inside_range) {
2949 region_to_window(®ion, region_xy[0], region_xy[1], &window_xy[0], &window_xy[1]);
2956 return std::make_pair(view, item);
2968 const bool is_multiselect = view->is_multiselect_supported();
2970 const bool range_select =
RNA_boolean_get(op->
ptr,
"range_select") && is_multiselect;
2971 const bool wait_to_deselect_others =
RNA_boolean_get(op->
ptr,
"wait_to_deselect_others");
2974 *
C, clicked_item, *view, extend, range_select, wait_to_deselect_others);
2996 ot->
name =
"Select View Item";
2997 ot->
idname =
"UI_OT_view_item_select";
3014 "Select all between clicked and active items");
3045 ot->
name =
"Delete";
3046 ot->
idname =
"UI_OT_view_item_delete";
3080 switch (direction) {
3110 ot->
name =
"View Navigate";
3111 ot->
idname =
"UI_OT_view_item_navigate";
3112 ot->
description =
"Walk and select view items in given direction";
3120 {int(
Direction::UP),
"UP", 0,
"Up",
"Select item above the active"},
3121 {int(
Direction::Down),
"DOWN", 0,
"Down",
"Select item below the active"},
3126 "Collapse or walk towards left of the active item"},
3131 "Uncollapse or walk towards right of the active item"},
3132 {0,
nullptr, 0,
nullptr,
nullptr},
3137 direction_enum_items,
3139 "Navigation Direction",
3140 "Direction in which to navigate and select next element.");
3166 ot->
name =
"Focus Active Item";
3167 ot->
idname =
"UI_OT_view_item_focus";
3168 ot->
description =
"Bring active item into focus by scrolling the view";
3201 ot->
name =
"Scroll page";
3202 ot->
idname =
"UI_OT_view_item_page_scroll";
3203 ot->
description =
"Scroll the list to the next/previous page";
3213 {0,
nullptr, 0,
nullptr,
nullptr},
3218 direction_enum_items,
3221 "Scroll to next/previous page in the list.");
3234 if (ob ==
nullptr) {
3250 Material *ma = id_cast<Material *>(
3252 if (ma ==
nullptr) {
3262 const int target_slot =
RNA_int_get(&mat_slot,
"slot_index") + 1;
3281 ot->
name =
"Drop Material in Material slots";
3282 ot->
description =
"Drag material to Material slots in Properties";
3283 ot->
idname =
"UI_OT_drop_material";
3321 ot->
name =
"Show Filter";
3322 ot->
description =
"Shows and starts entering region filter text";
3323 ot->
idname =
"UI_OT_region_start_filter";
3348 ot->
name =
"Clear and Hide Filter";
3349 ot->
description =
"Clear and hide the region search filter";
3350 ot->
idname =
"UI_OT_region_clear_filter";
Functions to insert, delete or modify keyframes.
General operations, lookup, etc. for materials.
#define STRNCPY_UTF8(dst, src)
#define ID_IS_PACKED(_id)
#define ID_IS_OVERRIDE_LIBRARY_REAL(_id)
#define ID_CHECK_UNDO(id)
#define ID_IS_LINKED(_id)
#define ID_IS_EDITABLE(_id)
Object is a sort of wrapper for general info.
#define OB_DATA_SUPPORT_ID(_id_type)
Read Blender memory allocation and freeing.
#define ND_LIB_OVERRIDE_CHANGED
#define BLI_assert_msg(a, msg)
bool contains(const Key &key) const
constexpr int64_t size() const
void append(const T &value)
void resize(const int64_t new_size)
int64_t remove_if(Predicate &&predicate)
Span< T > as_span() const
virtual void delete_item(bContext *C)
void activate(bContext &C)
virtual void set_selected(const bool select)
AbstractView & get_view() const
bool is_filtered_visible() const
bool is_select_on_click() const
virtual bool supports_scrolling() const
virtual AbstractViewItem * navigate_left(AbstractViewItem *from)=0
virtual bool is_fully_visible() const
virtual void foreach_view_item(FunctionRef< void(AbstractViewItem &)> iter_fn) const =0
virtual void page_scroll(bContext *C, PageScrollDirection direction)=0
virtual void scroll_active_into_view(bContext *C, bool scroll_active_to_center=false)=0
virtual bool begin_filtering(const bContext &C) const
virtual void scroll(ViewScrollDirection direction)
virtual AbstractViewItem * navigate_down(AbstractViewItem *from)=0
virtual AbstractViewItem * navigate_right(AbstractViewItem *from)=0
virtual AbstractViewItem * navigate_up(AbstractViewItem *from)=0
virtual AbstractViewItem * find_active_or_visible_item() const =0
VecBase< float, D > constexpr mod(VecOp< float, D >, VecOp< float, D >) RET
bool all(VecOp< bool, D >) RET
bool autokeyframe_property(bContext *C, Scene *scene, PointerRNA *ptr, PropertyRNA *prop, int rnaindex, float cfra, bool only_if_property_keyed)
bNode & node_find_node(bNodeTree &ntree, bNodeSocket &socket)
bool jump_to_object(bContext *C, Object *ob, bool reveal_hidden)
Base * find_first_by_data_id(const Main &bmain, const Scene *scene, ViewLayer *view_layer, ID *id)
bool jump_to_bone(bContext *C, Object *ob, const char *bone_name, bool reveal_hidden)
size_t line_number(const std::string_view &str, size_t pos)
bool socket_type_supports_attributes(const eNodeSocketDatatype socket_type)
int paste_property_drivers(Span< FCurve * > src_drivers, bool is_array_prop, PointerRNA *dst_ptr, PropertyRNA *dst_prop)
Vector< FCurve * > get_property_drivers(PointerRNA *ptr, PropertyRNA *prop, bool get_all, int index, bool *r_is_array_prop)
bool button_active_drop_color(bContext *C)
static void UI_OT_view_item_rename(wmOperatorType *ot)
static void context_selected_key_blocks(ID *owner_id_key, Vector< PointerRNA > *r_lb)
void drop_color_copy(bContext *C, wmDrag *drag, wmDropBox *drop)
Button * button_active_drop_name_button(const bContext *C)
void button_active_free(const bContext *C, Button *but)
void button_active_string_clear_and_exit(bContext *C, Button *but)
void UI_OT_eyedropper_id(wmOperatorType *ot)
static bool copy_to_selected_button_poll(bContext *C)
static void UI_OT_region_start_filter(wmOperatorType *ot)
AbstractViewItem * region_views_find_item_at(const ARegion ®ion, const int xy[2])
static bool copy_driver_to_selected_button(bContext *C, bool copy_entire_array, const bool poll)
static void UI_OT_unset_property_button(wmOperatorType *ot)
static bool override_idtemplate_reset_poll(bContext *C)
static bool uilist_focused_poll(bContext *C)
static void UI_OT_reset_default_button(wmOperatorType *ot)
static void region_redraw_immediately(bContext *C, ARegion *region)
bool panel_region_visible_width_ensure(ARegion *region)
static bool uilist_unhide_filter_options(uiList *list)
static bool reset_default_button_poll(bContext *C)
static wmOperatorStatus view_drop_invoke(bContext *C, wmOperator *, const wmEvent *event)
static wmOperatorStatus override_add_button_exec(bContext *C, wmOperator *op)
bool context_copy_to_selected_list(bContext *C, PointerRNA *ptr, PropertyRNA *prop, Vector< PointerRNA > *r_lb, bool *r_use_path_from_id, std::optional< std::string > *r_path)
Button * context_active_but_get_respect_popup(const bContext *C)
static void UI_OT_view_item_focus(wmOperatorType *ot)
bool drop_target_apply_drop(bContext &C, const ARegion ®ion, const wmEvent &event, const DropTargetInterface &drop_target, const ListBaseT< wmDrag > &drags)
static void UI_OT_button_execute(wmOperatorType *ot)
static wmOperatorStatus copy_driver_to_selected_button_exec(bContext *C, wmOperator *op)
static wmOperatorStatus assign_default_button_exec(bContext *C, wmOperator *)
static bool tree_interface_item_can_set_prop(const bNodeTreeInterfaceItem &item, const bNodeTreeInterfaceItem &active_item, PropertyRNA *prop)
static void UI_OT_drop_color(wmOperatorType *ot)
static void override_idtemplate_menu_draw(const bContext *, Menu *menu)
void UI_OT_eyedropper_colorramp(wmOperatorType *ot)
static wmOperatorStatus unset_property_button_exec(bContext *C, wmOperator *)
static wmOperatorStatus view_start_filter_invoke(bContext *C, wmOperator *, const wmEvent *event)
static bool assign_default_button_poll(bContext *C)
static void UI_OT_override_idtemplate_clear(wmOperatorType *ot)
uiList * uilist_find_mouse_over(const ARegion *region, const wmEvent *event)
static wmOperatorStatus copy_to_selected_button_exec(bContext *C, wmOperator *op)
static wmOperatorStatus drop_name_invoke(bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus override_idtemplate_reset_exec(bContext *C, wmOperator *)
bool drop_color_poll(bContext *C, wmDrag *drag, const wmEvent *event)
static wmOperatorStatus operator_button_property_finish(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
bool view_item_can_rename(const AbstractViewItem &item)
static wmOperatorStatus drop_material_exec(bContext *C, wmOperator *op)
static wmOperatorStatus button_press_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus uilist_start_filter_invoke(bContext *C, wmOperator *, const wmEvent *event)
static bool override_add_button_poll(bContext *C)
PointerRNA * button_operator_ptr_ensure(Button *but)
void UI_OT_eyedropper_colorramp_point(wmOperatorType *ot)
static bool view_drop_poll(bContext *C, wmDrag *drag, const wmEvent *event)
static wmOperatorStatus ui_view_item_navigate_invoke(bContext *C, wmOperator *op, const wmEvent *)
static bool copy_data_path_button_poll(bContext *C)
static wmOperatorStatus view_item_select_exec(bContext *C, wmOperator *op)
static void UI_OT_view_item_delete(wmOperatorType *ot)
static PointerRNA rnapointer_pchan_to_bone(const PointerRNA &pchan_ptr)
static AbstractViewItem * find_active_view_item(bContext *C)
bool jump_to_target_button_poll(bContext *C)
static bool view_item_rename_poll(bContext *C)
static wmOperatorStatus reloadtranslation_exec(bContext *, wmOperator *)
static void UI_OT_view_drop(wmOperatorType *ot)
void keymap_ui(wmKeyConfig *keyconf)
User Interface Keymap.
void region_panels_sort_for_search_filter_visibility_change(bContext *C, const ARegion *region)
Button * region_find_active_but(ARegion *region) ATTR_WARN_UNUSED_RESULT
void view_item_begin_rename(AbstractViewItem &item)
static bool jump_to_target_button(bContext *C, bool poll)
static void ui_context_matched_tree_interface_items(PointerRNA *ptr, PropertyRNA *prop, Vector< PointerRNA > *r_lb)
static bool jump_to_target_ptr(bContext *C, PointerRNA ptr, const bool poll)
static wmOperatorStatus override_idtemplate_clear_exec(bContext *C, wmOperator *)
static wmOperatorStatus operator_button_property_finish_with_undo(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
static void context_selected_bones_via_pose(bContext *C, Vector< PointerRNA > *r_lb)
static wmOperatorStatus reset_default_button_exec(bContext *C, wmOperator *op)
static bool view_focused_poll(bContext *C)
void UI_OT_eyedropper_grease_pencil_color(wmOperatorType *ot)
ID * template_id_liboverride_hierarchy_make(bContext *C, Main *bmain, ID *owner_id, ID *id, const char **r_undo_push_label)
static void UI_OT_drop_name(wmOperatorType *ot)
void region_to_window(const ARegion *region, int *x, int *y)
static wmOperatorStatus drop_color_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static bool drop_name_poll(bContext *C, wmDrag *drag, const wmEvent *)
static void UI_OT_override_idtemplate_reset(wmOperatorType *ot)
bool button_flag_is_set(Button *but, int64_t flag)
static wmOperatorStatus ui_view_item_scroll_page_invoke(bContext *C, wmOperator *op, const wmEvent *)
static void UI_OT_copy_data_path_button(wmOperatorType *ot)
static void UI_OT_copy_driver_to_selected_button(wmOperatorType *ot)
static wmOperatorStatus button_string_clear_exec(bContext *C, wmOperator *)
bool editsource_enable_check()
static AbstractView * get_view_focused(bContext *C)
void button_set_string_interactive(bContext *C, Button *but, const char *value)
static void UI_OT_override_idtemplate_make(wmOperatorType *ot)
void context_active_but_prop_get_templateID(const bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop)
static wmOperatorStatus view_item_delete_invoke(bContext *C, wmOperator *, const wmEvent *)
static wmOperatorStatus jump_to_target_button_exec(bContext *C, wmOperator *)
static bool override_remove_button_poll(bContext *C)
static bool copy_python_command_button_poll(bContext *C)
static void UI_OT_copy_as_driver_button(wmOperatorType *ot)
static void context_fcurve_modifiers_via_fcurve(bContext *C, Vector< PointerRNA > *r_lb, FModifier *source)
static bool copy_driver_to_selected_button_poll(bContext *C)
static bool override_idtemplate_poll(bContext *C, const bool is_create_op)
static bool override_idtemplate_clear_poll(bContext *C)
static void override_idtemplate_menu()
static void UI_OT_list_start_filter(wmOperatorType *ot)
static bool region_clear_filter_poll(blender::bContext *C)
wmKeyMap * eyedropper_modal_keymap(wmKeyConfig *keyconf)
static void UI_OT_drop_material(wmOperatorType *ot)
MenuType * UI_MT_color_space_select()
static void UI_OT_copy_python_command_button(wmOperatorType *ot)
static bool view_scroll_poll(bContext *C)
static void override_idtemplate_ids_get(bContext *C, ID **r_owner_id, ID **r_id, PointerRNA *r_owner_ptr, PropertyRNA **r_prop)
static void UI_OT_copy_to_selected_button(wmOperatorType *ot)
static void UI_OT_view_item_page_scroll(wmOperatorType *ot)
static wmOperatorStatus copy_as_driver_button_exec(bContext *C, wmOperator *op)
static wmOperatorStatus override_idtemplate_make_exec(bContext *C, wmOperator *)
static bool copy_to_selected_button(bContext *C, bool all, bool poll)
static void UI_OT_assign_default_button(wmOperatorType *ot)
static wmOperatorStatus ui_view_item_focus_invoke(bContext *C, wmOperator *, const wmEvent *)
static void UI_OT_view_item_navigate(wmOperatorType *ot)
static wmOperatorStatus region_start_filter_exec(bContext *C, wmOperator *)
static bool override_idtemplate_menu_poll(const bContext *C_const, MenuType *)
static void UI_OT_view_scroll(wmOperatorType *ot)
void context_active_but_prop_handle(bContext *C, bool handle_undo)
static void UI_OT_region_clear_filter(wmOperatorType *ot)
void rna_collection_search_update_fn(const bContext *C, void *arg, const char *str, SearchItems *items, bool is_first)
static void UI_OT_override_remove_button(wmOperatorType *ot)
static void UI_OT_view_start_filter(wmOperatorType *ot)
static wmOperatorStatus view_item_click_select(bContext &C, AbstractViewItem *clicked_item, const AbstractView &view, const bool extend, const bool range_select, bool wait_to_deselect_others)
void editsource_active_but_test(Button *but)
static wmOperatorStatus copy_python_command_button_exec(bContext *C, wmOperator *)
static void UI_OT_view_item_select(wmOperatorType *ot)
void UI_OT_eyedropper_bone(wmOperatorType *ot)
wmKeyMap * eyedropper_colorband_modal_keymap(wmKeyConfig *keyconf)
void pan_to_scroll(const wmEvent *event, int *type, int *val)
std::unique_ptr< DropTargetInterface > region_views_find_drop_target_at(const ARegion *region, const int xy[2])
static wmOperatorStatus view_item_rename_exec(bContext *C, wmOperator *)
static void UI_OT_reloadtranslation(wmOperatorType *ot)
static bool override_idtemplate_make_poll(bContext *C)
static void UI_OT_override_add_button(wmOperatorType *ot)
static wmOperatorStatus view_scroll_invoke(bContext *C, wmOperator *, const wmEvent *event)
static std::pair< AbstractView *, AbstractViewItem * > select_operator_view_and_item_find_xy(const ARegion ®ion, const wmOperator &op)
static wmOperatorStatus override_remove_button_exec(bContext *C, wmOperator *op)
Button * context_active_but_prop_get(const bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop, int *r_index)
void UI_OT_eyedropper_driver(wmOperatorType *ot)
static bool copy_as_driver_button_poll(bContext *C)
void UI_OT_eyedropper_depth(wmOperatorType *ot)
Button * context_active_but_get(const bContext *C)
void UI_OT_eyedropper_color(wmOperatorType *ot)
static bool drop_material_poll(bContext *C, wmDrag *drag, const wmEvent *)
static wmOperatorStatus region_clear_filter_exec(bContext *C, wmOperator *)
static wmOperatorStatus copy_data_path_button_exec(bContext *C, wmOperator *op)
static void UI_OT_button_string_clear(wmOperatorType *ot)
bool context_copy_to_selected_check(PointerRNA *ptr, PointerRNA *ptr_link, PropertyRNA *prop, const char *path, bool use_path_from_id, PointerRNA *r_ptr, PropertyRNA **r_prop)
static bool region_start_filter_poll(blender::bContext *C)
void button_execute(const bContext *C, ARegion *region, Button *but)
static void UI_OT_jump_to_target_button(wmOperatorType *ot)
static wmOperatorStatus view_item_select_invoke(bContext *C, wmOperator *op, const wmEvent *event)
AbstractView * region_view_find_at(const ARegion *region, const int xy[2], int pad, Block **r_block=nullptr)
void WM_main_add_notifier(uint type, void *reference)
char * RNA_property_string_get_alloc(PointerRNA *ptr, PropertyRNA *prop, char *fixedbuf, int fixedlen, int *r_len)
const char * BKE_idtype_idcode_to_name(short idcode)
bool RNA_property_assign_default(PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_array_length(PointerRNA *ptr, PropertyRNA *prop)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
void RNA_float_set_array(PointerRNA *ptr, const char *name, const float *values)
Vector< PointerRNA > CTX_data_collection_get(const bContext *C, const char *member)
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
ScrArea * CTX_wm_area(const bContext *C)
bool BKE_regiontype_uses_panel_categories_search(const ARegionType *region_type)
char * STRNCPY(char(&dst)[N], const char *src)
int RNA_enum_get(PointerRNA *ptr, const char *name)
void wmViewport(const rcti *winrct)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
IDOverrideLibraryPropertyOperation * BKE_lib_override_library_property_operation_find(IDOverrideLibraryProperty *liboverride_property, const char *subitem_refname, const char *subitem_locname, const std::optional< const ID * > &subitem_refid, const std::optional< const ID * > &subitem_locid, int subitem_refindex, int subitem_locindex, bool strict, bool *r_strict)
const PointerRNA * CTX_store_ptr_lookup(const bContextStore *store, StringRef name, const StructRNA *type=nullptr)
void BKE_id_delete(Main *bmain, void *idv, const BKEIDDeleteOptions &options={}) ATTR_NONNULL()
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_pointer_set(PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value, ReportList *reports)
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
void WM_operator_properties_id_lookup(wmOperatorType *ot, const bool add_name_prop)
void BLT_lang_set(const char *)
SpaceOutliner * CTX_wm_space_outliner(const bContext *C)
bool RNA_property_reset(Main *bmain, PointerRNA *ptr, PropertyRNA *prop, int index)
void wmWindowViewport(const wmWindow *win)
void ED_region_do_layout(bContext *C, ARegion *region)
PointerRNA RNA_id_pointer_create(ID *id)
std::optional< std::string > RNA_path_from_ID_to_property(const PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_def_float_color(StructOrFunctionRNA *cont_, const char *identifier, const int len, const float *default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
std::optional< std::string > RNA_path_full_struct_py(const PointerRNA *ptr)
void WM_operator_properties_free(PointerRNA *ptr)
ID * WM_operator_properties_id_lookup_from_name_or_session_uid(Main *bmain, PointerRNA *ptr, const ID_Type type)
const char * RNA_property_identifier(const PropertyRNA *prop)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
void srgb_to_linearrgb_v3_v3(float linear[3], const float srgb[3])
void RNA_int_set(PointerRNA *ptr, const char *name, int value)
void void BKE_libblock_remap(Main *bmain, void *old_idv, void *new_idv, int remap_flags) ATTR_NONNULL(1
IDOverrideLibraryPropertyOperation * RNA_property_override_property_operation_get(Main *bmain, PointerRNA *ptr, PropertyRNA *prop, const eID_OverrideLib_Op operation, const int index, const bool strict, bool *r_strict, bool *r_created)
FCurve * BKE_fcurve_find_by_rna(PointerRNA *ptr, PropertyRNA *prop, int rnaindex, AnimData **r_adt, bAction **r_action, bool *r_driven, bool *r_special)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
PointerRNA WM_operator_properties_create_ptr(wmOperatorType *ot)
bool RNA_property_driver_editable(const PointerRNA *ptr, PropertyRNA *prop)
int RNA_int_get(PointerRNA *ptr, const char *name)
wmWindow * CTX_wm_window(const bContext *C)
@ ID_REMAP_SKIP_INDIRECT_USAGE
void BKE_object_material_assign(Main *bmain, Object *ob, Material *ma, short act, int assign_type)
std::optional< std::string > RNA_path_from_real_ID_to_property_index(Main *bmain, const PointerRNA *ptr, PropertyRNA *prop, int index_dim, int index, ID **r_real_id)
void ED_region_search_filter_update(const ScrArea *area, ARegion *region)
wmOperatorStatus WM_generic_select_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void ED_region_tag_redraw(ARegion *region)
void ED_region_do_draw(bContext *C, ARegion *region)
void BKE_pose_ensure_bone_indices(const Object &pose_object)
void PyC_FileAndNum_Safe(const char **r_filename, int *r_lineno)
@ NODE_INTERFACE_PANEL_SELECT
StructRNA RNA_PropertyGroup
ViewLayer * CTX_data_view_layer(const bContext *C)
void WM_draw_region_viewport_bind(ARegion *region)
AnimData * BKE_animdata_ensure_id(ID *id)
bool RNA_property_array_check(PropertyRNA *prop)
const bContextStore * CTX_store_get(const bContext *C)
PropertyType RNA_property_type(PropertyRNA *prop)
AnimData * BKE_animdata_from_id(const ID *id)
std::string WM_operator_pystring_ex(bContext *C, wmOperator *op, const bool all_args, const bool macro_args, wmOperatorType *ot, PointerRNA *opptr)
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
void ED_region_tag_refresh_ui(ARegion *region)
bool BLI_rctf_compare(const struct rctf *rect_a, const struct rctf *rect_b, float limit)
void BLI_remlink(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void DEG_id_tag_update(ID *id, unsigned int flags)
std::string RNA_path_from_ptr_to_property_index(const PointerRNA *ptr, PropertyRNA *prop, int index_dim, int index)
void BKE_report(ReportList *reports, eReportType type, const char *message)
void ED_undo_push(bContext *C, const char *str, UndoEncodeHints hints=UndoEncodeHints(0))
ARegion * BKE_screen_find_region_xy(const bScreen *screen, int regiontype, const int xy[2]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
BLI_INLINE void IMB_colormanagement_srgb_to_scene_linear_v3(float scene_linear[3], const float srgb[3])
std::optional< std::string > RNA_path_resolve_from_type_to_property(const PointerRNA *ptr, PropertyRNA *prop, const StructRNA *type)
@ BKE_MAT_ASSIGN_USERPREF
void RNA_property_unset(PointerRNA *ptr, PropertyRNA *prop)
FCurve * BKE_fcurve_copy(const FCurve *fcu)
bool RNA_property_collection_lookup_string(PointerRNA *ptr, PropertyRNA *prop, const char *key, PointerRNA *r_ptr)
constexpr size_t ARRAY_SIZE(const T(&arg)[N]) noexcept
PointerRNA CTX_data_pointer_get_type_silent(const bContext *C, const char *member, StructRNA *type)
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
void ED_outliner_selected_objects_get(const bContext *C, ListBaseT< LinkData > *objects)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
bool ED_operator_regionactive(bContext *C)
IDOverrideLibraryProperty * RNA_property_override_property_find(Main *bmain, PointerRNA *ptr, PropertyRNA *prop, ID **r_owner_id)
bool RNA_property_is_idprop(const PropertyRNA *prop)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
PropertyRNA * RNA_struct_type_find_property(StructRNA *srna, const char *identifier)
void BKE_lib_override_library_property_operation_delete(IDOverrideLibraryProperty *liboverride_property, IDOverrideLibraryPropertyOperation *liboverride_property_operation)
void BKE_lib_override_library_id_reset(Main *bmain, ID *id_root, bool do_reset_system_override)
void RNA_property_float_set_array_at_most(PointerRNA *ptr, PropertyRNA *prop, const float *values, int values_num)
eRNAOverrideStatus RNA_property_override_library_status(Main *bmain, PointerRNA *ptr, PropertyRNA *prop, const int index)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
void CTX_wm_region_popup_set(bContext *C, ARegion *region_popup)
wmOperatorStatus WM_generic_select_modal(bContext *C, wmOperator *op, const wmEvent *event)
void ED_imapaint_bucket_fill(bContext *C, const float color[3], wmOperator *op, const int mouse[2])
int RNA_property_array_dimension(const PointerRNA *ptr, PropertyRNA *prop, int length[])
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
SpaceImage * CTX_wm_space_image(const bContext *C)
PropertySubType RNA_property_subtype(PropertyRNA *prop)
wmOperatorType * WM_operatortype_find(const char *idname, bool quiet)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void BKE_fcurve_free(FCurve *fcu)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
Main * CTX_data_main(const bContext *C)
bool BKE_lib_override_library_is_hierarchy_leaf(Main *bmain, ID *id)
bool WM_menutype_add(MenuType *mt)
std::optional< std::string > RNA_path_from_ID_to_property_index(const PointerRNA *ptr, PropertyRNA *prop, int index_dim, int index)
std::optional< std::string > RNA_path_full_property_py_ex(const PointerRNA *ptr, PropertyRNA *prop, int index, bool use_fallback)
void WM_clipboard_text_set(const char *buf, bool selection)
void CTX_data_collection_remap_property(MutableSpan< PointerRNA > collection_pointers, const char *propname)
wmOperatorStatus WM_operator_name_call_ptr(bContext *C, wmOperatorType *ot, wm::OpCallContext context, PointerRNA *properties, const wmEvent *event)
ID_Type GS(const char *name)
ARegion * CTX_wm_region_popup(const bContext *C)
Base * BKE_view_layer_base_find(ViewLayer *view_layer, Object *ob)
bool RNA_property_editable(const PointerRNA *ptr, PropertyRNA *prop)
void DEG_relations_tag_update(Main *bmain)
Scene * CTX_data_scene(const bContext *C)
bool BKE_region_panel_categories_search_filter_visible(const ARegion *region)
bScreen * CTX_wm_screen(const bContext *C)
void CTX_wm_region_set(bContext *C, ARegion *region)
@ RGN_FLAG_SEARCH_FILTER_SHOW
@ NODE_INTERFACE_SOCKET_SELECT
@ NODE_INTERFACE_SOCKET_OUTPUT
@ NODE_INTERFACE_SOCKET_PANEL_TOGGLE
@ NODE_INTERFACE_SOCKET_INPUT
std::string RNA_string_get(PointerRNA *ptr, const char *name)
void ANIM_copy_as_driver(ID *target_id, const char *target_path, const char *var_name)
BLI_INLINE void IMB_colormanagement_scene_linear_to_srgb_v3(float srgb[3], const float scene_linear[3])
FCurve * BKE_fcurve_find(ListBaseT< FCurve > *list, const char rna_path[], int array_index)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
void ED_region_activate_rna_prop(bContext *C, ARegion *region, const void *data, StringRefNull prop_name)
void WM_event_add_mousemove(wmWindow *win)
void BKE_lib_override_library_property_delete(IDOverrideLibrary *liboverride, IDOverrideLibraryProperty *liboverride_property)
bool RNA_path_resolve_property(const PointerRNA *ptr, const char *path, PointerRNA *r_ptr, PropertyRNA **r_prop)
std::optional< std::string > RNA_path_from_struct_to_idproperty(PointerRNA *ptr, const IDProperty *needle)
ARegion * CTX_wm_region(const bContext *C)
IDOverrideLibraryPropertyOperation * BKE_lib_override_library_property_operation_get(IDOverrideLibraryProperty *liboverride_property, eID_OverrideLib_Op operation, const char *subitem_refname, const char *subitem_locname, const std::optional< ID * > &subitem_refid, const std::optional< ID * > &subitem_locid, int subitem_refindex, int subitem_locindex, bool strict, bool *r_strict, bool *r_created)
void WM_operator_properties_generic_select(wmOperatorType *ot)
void WM_draw_region_viewport_unbind(ARegion *region)
PointerRNA CTX_data_pointer_get_type(const bContext *C, const char *member, StructRNA *type)
bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_property_ui_name(const PropertyRNA *prop, const PointerRNA *ptr)
void RNA_float_get_array(PointerRNA *ptr, const char *name, float *values)
bool RNA_property_copy(Main *bmain, PointerRNA *ptr, PointerRNA *fromptr, PropertyRNA *prop, int index, IDOverrideLibraryProperty *removed_oprop, IDOverrideLibraryPropertyOperation *removed_opop)
void(*) layout(const bContext *C, ARegion *region)
bke::ARegionRuntime * runtime
ListBaseT< FCurve > drivers
ListBaseT< FModifier > modifiers
eID_OverrideLib_Op operation
ListBaseT< IDOverrideLibraryPropertyOperation > operations
IDOverrideLibrary * override_library
ListBaseT< KeyBlock > block
struct bNodeTree * node_group
bool has_owner_id() const
ListBaseT< EditBone > * edbo
NodeTreeInterfaceItemType item_type
NodeTreeInterfacePanelFlag flag
bNodeTreeInterface tree_interface
ListBaseT< ui::Block > uiblocks
struct ARegionType * type
std::string search_filter
Set< std::string > categories_search_match
PointerRNA op(wmOperatorType *ot, std::optional< StringRef > name, int icon, wm::OpCallContext context, eUI_Item_Flag flag)
wmOperatorStatus(*) exec(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
bool(*) poll(bContext *C) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) invoke(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) modal(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
bke::WindowRuntime * runtime