Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.h
| Show All 32 Lines | |||||
| struct ARegion; | struct ARegion; | ||||
| struct ARegionType; | struct ARegionType; | ||||
| struct Main; | struct Main; | ||||
| struct View2D; | struct View2D; | ||||
| struct bContext; | struct bContext; | ||||
| struct bNode; | struct bNode; | ||||
| struct bNodeLink; | struct bNodeLink; | ||||
| struct bNodeSocket; | struct bNodeSocket; | ||||
| struct wmGizmoGroupType; | |||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct wmWindow; | struct wmWindow; | ||||
| /* temp data to pass on to modal */ | /* temp data to pass on to modal */ | ||||
| typedef struct bNodeLinkDrag { | typedef struct bNodeLinkDrag { | ||||
| struct bNodeLinkDrag *next, *prev; | struct bNodeLinkDrag *next, *prev; | ||||
| /* List of links dragged by the operator. | /* List of links dragged by the operator. | ||||
| Show All 23 Lines | void node_draw_sockets(struct View2D *v2d, | ||||
| const struct bContext *C, | const struct bContext *C, | ||||
| struct bNodeTree *ntree, | struct bNodeTree *ntree, | ||||
| struct bNode *node, | struct bNode *node, | ||||
| bool draw_outputs, | bool draw_outputs, | ||||
| bool select_all); | bool select_all); | ||||
| void node_update_default(const struct bContext *C, struct bNodeTree *ntree, struct bNode *node); | void node_update_default(const struct bContext *C, struct bNodeTree *ntree, struct bNode *node); | ||||
| int node_select_area_default(struct bNode *node, int x, int y); | int node_select_area_default(struct bNode *node, int x, int y); | ||||
| int node_tweak_area_default(struct bNode *node, int x, int y); | int node_tweak_area_default(struct bNode *node, int x, int y); | ||||
| void node_socket_color_get(struct bContext *C, | |||||
| struct bNodeTree *ntree, | |||||
| struct PointerRNA *node_ptr, | |||||
| struct bNodeSocket *sock, | |||||
| float r_color[4]); | |||||
| void node_update_nodetree(const struct bContext *C, struct bNodeTree *ntree); | void node_update_nodetree(const struct bContext *C, struct bNodeTree *ntree); | ||||
| void node_draw_nodetree(const struct bContext *C, | void node_draw_nodetree(const struct bContext *C, | ||||
| struct ARegion *region, | struct ARegion *region, | ||||
| struct SpaceNode *snode, | struct SpaceNode *snode, | ||||
| struct bNodeTree *ntree, | struct bNodeTree *ntree, | ||||
| bNodeInstanceKey parent_key); | bNodeInstanceKey parent_key); | ||||
| void drawnodespace(const bContext *C, ARegion *region); | void drawnodespace(const bContext *C, ARegion *region); | ||||
| Show All 29 Lines | |||||
| void NODE_OT_select_circle(struct wmOperatorType *ot); | void NODE_OT_select_circle(struct wmOperatorType *ot); | ||||
| void NODE_OT_select_lasso(struct wmOperatorType *ot); | void NODE_OT_select_lasso(struct wmOperatorType *ot); | ||||
| void NODE_OT_select_grouped(struct wmOperatorType *ot); | void NODE_OT_select_grouped(struct wmOperatorType *ot); | ||||
| void NODE_OT_select_same_type_step(struct wmOperatorType *ot); | void NODE_OT_select_same_type_step(struct wmOperatorType *ot); | ||||
| void NODE_OT_find_node(struct wmOperatorType *ot); | void NODE_OT_find_node(struct wmOperatorType *ot); | ||||
| /* node_view.c */ | /* node_view.c */ | ||||
| int space_node_view_flag(struct bContext *C, | int space_node_view_flag(struct bContext *C, | ||||
| SpaceNode *snode, | struct SpaceNode *snode, | ||||
| ARegion *region, | ARegion *region, | ||||
| const int node_flag, | const int node_flag, | ||||
| const int smooth_viewtx); | const int smooth_viewtx); | ||||
| void NODE_OT_view_all(struct wmOperatorType *ot); | void NODE_OT_view_all(struct wmOperatorType *ot); | ||||
| void NODE_OT_view_selected(struct wmOperatorType *ot); | void NODE_OT_view_selected(struct wmOperatorType *ot); | ||||
| void NODE_OT_backimage_move(struct wmOperatorType *ot); | void NODE_OT_backimage_move(struct wmOperatorType *ot); | ||||
| ▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| void NODE_OT_parent_set(struct wmOperatorType *ot); | void NODE_OT_parent_set(struct wmOperatorType *ot); | ||||
| void NODE_OT_join(struct wmOperatorType *ot); | void NODE_OT_join(struct wmOperatorType *ot); | ||||
| void NODE_OT_attach(struct wmOperatorType *ot); | void NODE_OT_attach(struct wmOperatorType *ot); | ||||
| void NODE_OT_detach(struct wmOperatorType *ot); | void NODE_OT_detach(struct wmOperatorType *ot); | ||||
| void NODE_OT_link_viewer(struct wmOperatorType *ot); | void NODE_OT_link_viewer(struct wmOperatorType *ot); | ||||
| void NODE_OT_insert_offset(wmOperatorType *ot); | void NODE_OT_insert_offset(struct wmOperatorType *ot); | ||||
| /* node_edit.c */ | /* node_edit.c */ | ||||
| void snode_notify(struct bContext *C, struct SpaceNode *snode); | void snode_notify(struct bContext *C, struct SpaceNode *snode); | ||||
| void snode_dag_update(struct bContext *C, struct SpaceNode *snode); | void snode_dag_update(struct bContext *C, struct SpaceNode *snode); | ||||
| void snode_set_context(const struct bContext *C); | void snode_set_context(const struct bContext *C); | ||||
| void snode_update(struct SpaceNode *snode, struct bNode *node); | void snode_update(struct SpaceNode *snode, struct bNode *node); | ||||
| bool composite_node_active(struct bContext *C); | bool composite_node_active(struct bContext *C); | ||||
| bool composite_node_editable(struct bContext *C); | bool composite_node_editable(struct bContext *C); | ||||
| int node_has_hidden_sockets(bNode *node); | int node_has_hidden_sockets(struct bNode *node); | ||||
| void node_set_hidden_sockets(SpaceNode *snode, bNode *node, int set); | void node_set_hidden_sockets(struct SpaceNode *snode, bNode *node, int set); | ||||
| int node_render_changed_exec(bContext *, struct wmOperator *); | int node_render_changed_exec(bContext *, struct wmOperator *); | ||||
| int node_find_indicated_socket(struct SpaceNode *snode, | int node_find_indicated_socket(struct SpaceNode *snode, | ||||
| struct bNode **nodep, | struct bNode **nodep, | ||||
| struct bNodeSocket **sockp, | struct bNodeSocket **sockp, | ||||
| float cursor[2], | float cursor[2], | ||||
| int in_out); | int in_out); | ||||
| void NODE_OT_duplicate(struct wmOperatorType *ot); | void NODE_OT_duplicate(struct wmOperatorType *ot); | ||||
| ▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines | |||||