Blender  V2.93
Functions
node_buttons.c File Reference
#include "MEM_guardedalloc.h"
#include "DNA_node_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_node.h"
#include "BKE_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "ED_screen.h"
#include "UI_resources.h"
#include "node_intern.h"

Go to the source code of this file.

Functions

static bool node_sockets_poll (const bContext *C, PanelType *UNUSED(pt))
 
static void node_sockets_panel (const bContext *C, Panel *panel)
 
static bool node_tree_interface_poll (const bContext *C, PanelType *UNUSED(pt))
 
static bNodeSocketnode_tree_find_active_socket (bNodeTree *ntree, const eNodeSocketInOut in_out)
 
static void draw_socket_list (const bContext *C, uiLayout *layout, bNodeTree *ntree, const eNodeSocketInOut in_out)
 
static void node_tree_interface_inputs_panel (const bContext *C, Panel *panel)
 
static void node_tree_interface_outputs_panel (const bContext *C, Panel *panel)
 
void node_buttons_register (ARegionType *art)
 

Function Documentation

◆ draw_socket_list()

static void draw_socket_list ( const bContext C,
uiLayout layout,
bNodeTree ntree,
const eNodeSocketInOut  in_out 
)
static

◆ node_buttons_register()

void node_buttons_register ( ARegionType art)

◆ node_sockets_panel()

static void node_sockets_panel ( const bContext C,
Panel panel 
)
static

◆ node_sockets_poll()

static bool node_sockets_poll ( const bContext C,
PanelType UNUSEDpt 
)
static

Definition at line 61 of file node_buttons.c.

References C, CTX_wm_space_node(), G, and SpaceNode::nodetree.

Referenced by node_buttons_register().

◆ node_tree_find_active_socket()

static bNodeSocket* node_tree_find_active_socket ( bNodeTree ntree,
const eNodeSocketInOut  in_out 
)
static

Definition at line 95 of file node_buttons.c.

References bNodeTree::inputs, LISTBASE_FOREACH, ntree, NULL, bNodeTree::outputs, SELECT, and SOCK_IN.

Referenced by draw_socket_list().

◆ node_tree_interface_inputs_panel()

static void node_tree_interface_inputs_panel ( const bContext C,
Panel panel 
)
static

◆ node_tree_interface_outputs_panel()

static void node_tree_interface_outputs_panel ( const bContext C,
Panel panel 
)
static

◆ node_tree_interface_poll()

static bool node_tree_interface_poll ( const bContext C,
PanelType UNUSEDpt 
)
static