|
Blender V5.0
|
#include "BLI_string.h"#include "BLI_string_ref.hh"#include "RNA_access.hh"#include "UI_interface_layout.hh"#include "interface_intern.hh"Go to the source code of this file.
Classes | |
| struct | ComponentMenuArgs |
Functions | |
| static uiBlock * | component_menu (bContext *C, ARegion *region, void *args_v) |
| void | uiTemplateComponentMenu (uiLayout *layout, PointerRNA *ptr, const StringRefNull propname, const StringRef name) |
Definition at line 25 of file interface_template_component_menu.cc.
References blender::ui::block_layout(), C, uiLayout::column(), blender::ui::Emboss, blender::ui::Panel, uiLayout::prop(), ComponentMenuArgs::propname, ComponentMenuArgs::ptr, U, UI_block_begin(), UI_block_bounds_set_normal(), UI_block_direction_set(), UI_block_flag_enable(), UI_BLOCK_KEEP_OPEN, UI_DIR_DOWN, UI_ITEM_R_EXPAND, UI_style_get(), UI_UNIT_X, UI_UNIT_Y, and blender::ui::Vertical.
Referenced by uiTemplateComponentMenu().
| void uiTemplateComponentMenu | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const StringRefNull | propname, | ||
| const StringRef | name ) |
Definition at line 50 of file interface_template_component_menu.cc.
References uiLayout::block(), but_func_argN_copy(), but_func_argN_free(), blender::StringRefNull::c_str(), component_menu(), name, ComponentMenuArgs::propname, ComponentMenuArgs::ptr, ptr, RNA_struct_find_property(), uiBut::rnaindex, uiBut::rnapoin, uiBut::rnaprop, STRNCPY(), UI_block_align_begin(), UI_block_align_end(), UI_UNIT_X, UI_UNIT_Y, and uiDefBlockButN().
Referenced by blender::ed::space_node::std_node_socket_draw().