Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.h
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | void node_draw_sockets(const 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, | void node_socket_color_get(const struct bContext *C, | ||||
| struct bNodeTree *ntree, | struct bNodeTree *ntree, | ||||
| struct PointerRNA *node_ptr, | struct PointerRNA *node_ptr, | ||||
| struct bNodeSocket *sock, | struct bNodeSocket *sock, | ||||
| float r_color[4]); | 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, | ||||
| ▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| void NODE_OT_backimage_zoom(struct wmOperatorType *ot); | void NODE_OT_backimage_zoom(struct wmOperatorType *ot); | ||||
| void NODE_OT_backimage_fit(struct wmOperatorType *ot); | void NODE_OT_backimage_fit(struct wmOperatorType *ot); | ||||
| void NODE_OT_backimage_sample(struct wmOperatorType *ot); | void NODE_OT_backimage_sample(struct wmOperatorType *ot); | ||||
| /* drawnode.c */ | /* drawnode.c */ | ||||
| void nodelink_batch_start(struct SpaceNode *snode); | void nodelink_batch_start(struct SpaceNode *snode); | ||||
| void nodelink_batch_end(struct SpaceNode *snode); | void nodelink_batch_end(struct SpaceNode *snode); | ||||
| void node_draw_link(struct View2D *v2d, struct SpaceNode *snode, struct bNodeLink *link); | void node_draw_link(const struct bContext *C, | ||||
| void node_draw_link_bezier(const struct View2D *v2d, | struct View2D *v2d, | ||||
| struct SpaceNode *snode, | |||||
| struct bNodeLink *link); | |||||
| void node_draw_link_bezier(const struct bContext *C, | |||||
| const struct View2D *v2d, | |||||
| const struct SpaceNode *snode, | const struct SpaceNode *snode, | ||||
| const struct bNodeLink *link, | const struct bNodeLink *link, | ||||
| int th_col1, | int th_col1, | ||||
| int th_col2, | int th_col2, | ||||
| int th_col3); | int th_col3); | ||||
| bool node_link_bezier_points(const struct View2D *v2d, | bool node_link_bezier_points(const struct View2D *v2d, | ||||
| const struct SpaceNode *snode, | const struct SpaceNode *snode, | ||||
| const struct bNodeLink *link, | const struct bNodeLink *link, | ||||
| ▲ Show 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | |||||
| #endif | #endif | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| # include "BLI_vector.hh" | # include "BLI_vector.hh" | ||||
| # include "UI_interface.hh" | # include "UI_interface.hh" | ||||
| namespace blender::ed::space_node { | namespace blender::ed::space_node { | ||||
| Vector<ui::ContextPathItem> context_path_for_space_node(const bContext &C); | Vector<ui::ContextPathItem> context_path_for_space_node(const bContext &C); | ||||
| } | } | ||||
| #endif | #endif | ||||
| No newline at end of file | |||||