|
Blender V5.0
|
#include "BLI_vector.hh"#include "BKE_context.hh"#include "BKE_node.hh"#include "BKE_node_runtime.hh"#include "BKE_screen.hh"#include "BLT_translation.hh"#include "NOD_node_declaration.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "UI_interface.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"Go to the source code of this file.
Classes | |
| class | ItemDeclaration |
| class | LayoutDeclaration |
| class | PanelDeclaration |
Namespaces | |
| namespace | blender |
| namespace | blender::ui |
| namespace | blender::ui::nodes |
Functions | |
| static void | blender::ui::nodes::draw_node_input (bContext *C, uiLayout *layout, PointerRNA *node_ptr, bNodeSocket &socket) |
| static bool | blender::ui::nodes::panel_has_used_inputs (const bNode &node, const blender::nodes::PanelDeclaration &panel_decl) |
| static void | blender::ui::nodes::draw_node_inputs_recursive (bContext *C, uiLayout *layout, bNode &node, PointerRNA *node_ptr, const blender::nodes::PanelDeclaration &panel_decl) |
Node Input Buttons Template | |
| using | ItemIterator = blender::Vector<blender::nodes::ItemDeclarationPtr>::const_iterator |
| void | uiTemplateNodeInputs (uiLayout *layout, bContext *C, PointerRNA *ptr) |
| using ItemIterator = blender::Vector<blender::nodes::ItemDeclarationPtr>::const_iterator |
Definition at line 37 of file interface_template_node_inputs.cc.
| void uiTemplateNodeInputs | ( | uiLayout * | layout, |
| bContext * | C, | ||
| PointerRNA * | ptr ) |
Draw all node buttons and socket default values with the same panel structure used by the node.
Definition at line 139 of file interface_template_node_inputs.cc.
References BLI_assert, C, blender::ui::nodes::draw_node_input(), blender::ui::nodes::draw_node_inputs_recursive(), input, params, ptr, RNA_pointer_create_discrete(), blender::nodes::NodeDeclaration::root_items, uiLayout::row(), bNode::runtime, SOCK_IN, tree, and bNode::typeinfo.