Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.hh
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| struct bNode; | struct bNode; | ||||
| struct bNodeLink; | struct bNodeLink; | ||||
| struct bNodeSocket; | struct bNodeSocket; | ||||
| struct wmGizmoGroupType; | 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 { | struct bNodeLinkDrag { | ||||
| struct bNodeLinkDrag *next, *prev; | /** Links dragged by the operator. */ | ||||
| blender::Vector<bNodeLink *> links; | |||||
| /* List of links dragged by the operator. | |||||
| * NOTE: This is a list of LinkData structs on top of the actual bNodeLinks. | |||||
| * This way the links can be added to the node tree while being stored in this list. | |||||
| */ | |||||
| ListBase links; | |||||
| bool from_multi_input_socket; | bool from_multi_input_socket; | ||||
| int in_out; | int in_out; | ||||
| /** Temporarily stores the last picked link from multi-input socket operator. */ | /** Temporarily stores the last picked link from multi-input socket operator. */ | ||||
| struct bNodeLink *last_picked_multi_input_socket_link; | struct bNodeLink *last_picked_multi_input_socket_link; | ||||
| /** Temporarily stores the last hovered socket for multi-input socket operator. | /** Temporarily stores the last hovered socket for multi-input socket operator. | ||||
| * Store it to recalculate sorting after it is no longer hovered. */ | * Store it to recalculate sorting after it is no longer hovered. */ | ||||
| struct bNode *last_node_hovered_while_dragging_a_link; | struct bNode *last_node_hovered_while_dragging_a_link; | ||||
| /* Data for edge panning */ | /* Data for edge panning */ | ||||
| View2DEdgePanData pan_data; | View2DEdgePanData pan_data; | ||||
| } bNodeLinkDrag; | }; | ||||
| typedef struct SpaceNode_Runtime { | struct SpaceNode_Runtime { | ||||
| float aspect; | float aspect; | ||||
| /** Mouse position for drawing socket-less links and adding nodes. */ | /** Mouse position for drawing socket-less links and adding nodes. */ | ||||
| float cursor[2]; | float cursor[2]; | ||||
| /** For auto compositing. */ | /** For auto compositing. */ | ||||
| bool recalc; | bool recalc; | ||||
| /** Temporary data for modal linking operator. */ | /** Temporary data for modal linking operator. */ | ||||
| struct ListBase linkdrag; | std::unique_ptr<bNodeLinkDrag> linkdrag; | ||||
| /* XXX hack for translate_attach op-macros to pass data from transform op to insert_offset op */ | /* XXX hack for translate_attach op-macros to pass data from transform op to insert_offset op */ | ||||
| /** Temporary data for node insert offset (in UI called Auto-offset). */ | /** Temporary data for node insert offset (in UI called Auto-offset). */ | ||||
| struct NodeInsertOfsData *iofsd; | struct NodeInsertOfsData *iofsd; | ||||
| } SpaceNode_Runtime; | }; | ||||
| /* space_node.c */ | /* space_node.c */ | ||||
| /* transform between View2Ds in the tree path */ | /* transform between View2Ds in the tree path */ | ||||
| void space_node_group_offset(struct SpaceNode *snode, float *x, float *y); | void space_node_group_offset(SpaceNode *snode, float *x, float *y); | ||||
| /* node_draw.cc */ | /* node_draw.cc */ | ||||
| float node_socket_calculate_height(const bNodeSocket *socket); | float node_socket_calculate_height(const bNodeSocket *socket); | ||||
| void node_link_calculate_multi_input_position(const float socket_x, | void node_link_calculate_multi_input_position(const float socket_x, | ||||
| const float socket_y, | const float socket_y, | ||||
| const int index, | const int index, | ||||
| const int total_inputs, | const int total_inputs, | ||||
| float r[2]); | float r[2]); | ||||
| int node_get_colorid(struct bNode *node); | int node_get_colorid(bNode *node); | ||||
| void node_draw_extra_info_panel(const SpaceNode *snode, const bNode *node); | |||||
| int node_get_resize_cursor(int directions); | int node_get_resize_cursor(int directions); | ||||
| void node_draw_shadow(const struct SpaceNode *snode, | void node_draw_shadow(const SpaceNode *snode, const bNode *node, float radius, float alpha); | ||||
| const struct bNode *node, | void node_draw_default(const bContext *C, | ||||
| float radius, | ARegion *region, | ||||
| float alpha); | SpaceNode *snode, | ||||
| void node_draw_default(const struct bContext *C, | bNodeTree *ntree, | ||||
| struct ARegion *region, | bNode *node, | ||||
| struct SpaceNode *snode, | |||||
| struct bNodeTree *ntree, | |||||
| struct bNode *node, | |||||
| bNodeInstanceKey key); | bNodeInstanceKey key); | ||||
| void node_draw_sockets(const struct View2D *v2d, | void node_draw_sockets(const View2D *v2d, | ||||
| const struct bContext *C, | const bContext *C, | ||||
| struct bNodeTree *ntree, | bNodeTree *ntree, | ||||
| struct bNode *node, | 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 bContext *C, bNodeTree *ntree, bNode *node); | ||||
| int node_select_area_default(struct bNode *node, int x, int y); | int node_select_area_default(bNode *node, int x, int y); | ||||
| int node_tweak_area_default(struct bNode *node, int x, int y); | int node_tweak_area_default(bNode *node, int x, int y); | ||||
| void node_socket_color_get(const struct bContext *C, | void node_socket_color_get(const bContext *C, | ||||
| struct bNodeTree *ntree, | bNodeTree *ntree, | ||||
| struct PointerRNA *node_ptr, | PointerRNA *node_ptr, | ||||
| struct bNodeSocket *sock, | 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 bContext *C, bNodeTree *ntree); | ||||
| void node_draw_nodetree(const struct bContext *C, | void node_draw_nodetree(const bContext *C, | ||||
| struct ARegion *region, | ARegion *region, | ||||
| struct SpaceNode *snode, | SpaceNode *snode, | ||||
| struct bNodeTree *ntree, | bNodeTree *ntree, | ||||
| bNodeInstanceKey parent_key); | bNodeInstanceKey parent_key); | ||||
| void node_draw_space(const bContext *C, ARegion *region); | void node_draw_space(const bContext *C, ARegion *region); | ||||
| void node_set_cursor(struct wmWindow *win, struct SpaceNode *snode, float cursor[2]); | void node_set_cursor(wmWindow *win, SpaceNode *snode, float cursor[2]); | ||||
| /* DPI scaled coords */ | /* DPI scaled coords */ | ||||
| void node_to_view(const struct bNode *node, float x, float y, float *rx, float *ry); | void node_to_view(const bNode *node, float x, float y, float *rx, float *ry); | ||||
| void node_to_updated_rect(const struct bNode *node, rctf *r_rect); | void node_to_updated_rect(const bNode *node, rctf *r_rect); | ||||
| void node_from_view(const struct bNode *node, float x, float y, float *rx, float *ry); | void node_from_view(const bNode *node, float x, float y, float *rx, float *ry); | ||||
| /* node_toolbar.c */ | /* node_toolbar.c */ | ||||
| void node_toolbar_register(struct ARegionType *art); | void node_toolbar_register(ARegionType *art); | ||||
| /* node_ops.c */ | /* node_ops.c */ | ||||
| void node_operatortypes(void); | void node_operatortypes(void); | ||||
| void node_keymap(struct wmKeyConfig *keyconf); | void node_keymap(wmKeyConfig *keyconf); | ||||
| /* node_select.c */ | /* node_select.c */ | ||||
| void node_deselect_all(struct SpaceNode *snode); | void node_deselect_all(SpaceNode *snode); | ||||
| void node_socket_select(struct bNode *node, struct bNodeSocket *sock); | void node_socket_select(bNode *node, bNodeSocket *sock); | ||||
| void node_socket_deselect(struct bNode *node, struct bNodeSocket *sock, const bool deselect_node); | void node_socket_deselect(bNode *node, bNodeSocket *sock, const bool deselect_node); | ||||
| void node_deselect_all_input_sockets(struct SpaceNode *snode, const bool deselect_nodes); | void node_deselect_all_input_sockets(SpaceNode *snode, const bool deselect_nodes); | ||||
| void node_deselect_all_output_sockets(struct SpaceNode *snode, const bool deselect_nodes); | void node_deselect_all_output_sockets(SpaceNode *snode, const bool deselect_nodes); | ||||
| void node_select_single(struct bContext *C, struct bNode *node); | void node_select_single(bContext *C, bNode *node); | ||||
| void NODE_OT_select(struct wmOperatorType *ot); | void NODE_OT_select(wmOperatorType *ot); | ||||
| void NODE_OT_select_all(struct wmOperatorType *ot); | void NODE_OT_select_all(wmOperatorType *ot); | ||||
| void NODE_OT_select_linked_to(struct wmOperatorType *ot); | void NODE_OT_select_linked_to(wmOperatorType *ot); | ||||
| void NODE_OT_select_linked_from(struct wmOperatorType *ot); | void NODE_OT_select_linked_from(wmOperatorType *ot); | ||||
| void NODE_OT_select_box(struct wmOperatorType *ot); | void NODE_OT_select_box(wmOperatorType *ot); | ||||
| void NODE_OT_select_circle(struct wmOperatorType *ot); | void NODE_OT_select_circle(wmOperatorType *ot); | ||||
| void NODE_OT_select_lasso(struct wmOperatorType *ot); | void NODE_OT_select_lasso(wmOperatorType *ot); | ||||
| void NODE_OT_select_grouped(struct wmOperatorType *ot); | void NODE_OT_select_grouped(wmOperatorType *ot); | ||||
| void NODE_OT_select_same_type_step(struct wmOperatorType *ot); | void NODE_OT_select_same_type_step(wmOperatorType *ot); | ||||
| void NODE_OT_find_node(struct wmOperatorType *ot); | void NODE_OT_find_node(wmOperatorType *ot); | ||||
| /* node_view.c */ | /* node_view.c */ | ||||
| int space_node_view_flag(struct bContext *C, | int space_node_view_flag( | ||||
| struct SpaceNode *snode, | bContext *C, SpaceNode *snode, ARegion *region, const int node_flag, const int smooth_viewtx); | ||||
| ARegion *region, | |||||
| const int node_flag, | |||||
| const int smooth_viewtx); | |||||
| void NODE_OT_view_all(struct wmOperatorType *ot); | void NODE_OT_view_all(wmOperatorType *ot); | ||||
| void NODE_OT_view_selected(struct wmOperatorType *ot); | void NODE_OT_view_selected(wmOperatorType *ot); | ||||
| void NODE_OT_geometry_node_view_legacy(struct wmOperatorType *ot); | void NODE_OT_geometry_node_view_legacy(wmOperatorType *ot); | ||||
| void NODE_OT_backimage_move(struct wmOperatorType *ot); | void NODE_OT_backimage_move(wmOperatorType *ot); | ||||
| void NODE_OT_backimage_zoom(struct wmOperatorType *ot); | void NODE_OT_backimage_zoom(wmOperatorType *ot); | ||||
| void NODE_OT_backimage_fit(struct wmOperatorType *ot); | void NODE_OT_backimage_fit(wmOperatorType *ot); | ||||
| void NODE_OT_backimage_sample(struct wmOperatorType *ot); | void NODE_OT_backimage_sample(wmOperatorType *ot); | ||||
| /* drawnode.c */ | /* drawnode.c */ | ||||
| void nodelink_batch_start(struct SpaceNode *snode); | void nodelink_batch_start(SpaceNode *snode); | ||||
| void nodelink_batch_end(struct SpaceNode *snode); | void nodelink_batch_end(SpaceNode *snode); | ||||
| void node_draw_link(const struct bContext *C, | void node_draw_link(const bContext *C, | ||||
| struct View2D *v2d, | const View2D *v2d, | ||||
| struct SpaceNode *snode, | const SpaceNode *snode, | ||||
| struct bNodeLink *link); | const bNodeLink *link); | ||||
| void node_draw_link_bezier(const struct bContext *C, | void node_draw_link_bezier(const bContext *C, | ||||
| const struct View2D *v2d, | const View2D *v2d, | ||||
| const struct SpaceNode *snode, | const SpaceNode *snode, | ||||
| const struct bNodeLink *link, | const 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 View2D *v2d, | ||||
| const struct SpaceNode *snode, | const SpaceNode *snode, | ||||
| const struct bNodeLink *link, | const bNodeLink *link, | ||||
| float coord_array[][2], | float coord_array[][2], | ||||
| const int resol); | const int resol); | ||||
| bool node_link_bezier_handles(const struct View2D *v2d, | bool node_link_bezier_handles(const View2D *v2d, | ||||
| const struct SpaceNode *snode, | const SpaceNode *snode, | ||||
| const struct bNodeLink *link, | const bNodeLink *link, | ||||
| float vec[4][2]); | float vec[4][2]); | ||||
| void draw_nodespace_back_pix(const struct bContext *C, | void draw_nodespace_back_pix(const bContext *C, | ||||
| struct ARegion *region, | ARegion *region, | ||||
| struct SpaceNode *snode, | SpaceNode *snode, | ||||
| bNodeInstanceKey parent_key); | bNodeInstanceKey parent_key); | ||||
| /* node_add.c */ | /* node_add.c */ | ||||
| bNode *node_add_node( | bNode *node_add_node(const bContext *C, const char *idname, int type, float locx, float locy); | ||||
| const struct bContext *C, const char *idname, int type, float locx, float locy); | void NODE_OT_add_reroute(wmOperatorType *ot); | ||||
| void NODE_OT_add_reroute(struct wmOperatorType *ot); | void NODE_OT_add_group(wmOperatorType *ot); | ||||
| void NODE_OT_add_group(struct wmOperatorType *ot); | void NODE_OT_add_object(wmOperatorType *ot); | ||||
| void NODE_OT_add_object(struct wmOperatorType *ot); | void NODE_OT_add_collection(wmOperatorType *ot); | ||||
| void NODE_OT_add_collection(struct wmOperatorType *ot); | void NODE_OT_add_texture(wmOperatorType *ot); | ||||
| void NODE_OT_add_texture(struct wmOperatorType *ot); | void NODE_OT_add_file(wmOperatorType *ot); | ||||
| void NODE_OT_add_file(struct wmOperatorType *ot); | void NODE_OT_add_mask(wmOperatorType *ot); | ||||
| void NODE_OT_add_mask(struct wmOperatorType *ot); | void NODE_OT_new_node_tree(wmOperatorType *ot); | ||||
| void NODE_OT_new_node_tree(struct wmOperatorType *ot); | |||||
| /* node_group.c */ | /* node_group.c */ | ||||
| const char *node_group_idname(struct bContext *C); | const char *node_group_idname(bContext *C); | ||||
| void NODE_OT_group_make(struct wmOperatorType *ot); | void NODE_OT_group_make(wmOperatorType *ot); | ||||
| void NODE_OT_group_insert(struct wmOperatorType *ot); | void NODE_OT_group_insert(wmOperatorType *ot); | ||||
| void NODE_OT_group_ungroup(struct wmOperatorType *ot); | void NODE_OT_group_ungroup(wmOperatorType *ot); | ||||
| void NODE_OT_group_separate(struct wmOperatorType *ot); | void NODE_OT_group_separate(wmOperatorType *ot); | ||||
| void NODE_OT_group_edit(struct wmOperatorType *ot); | void NODE_OT_group_edit(wmOperatorType *ot); | ||||
| /* node_relationships.c */ | /* node_relationships.c */ | ||||
| void sort_multi_input_socket_links(struct SpaceNode *snode, | void sort_multi_input_socket_links(SpaceNode *snode, | ||||
| struct bNode *node, | bNode *node, | ||||
| struct bNodeLink *drag_link, | bNodeLink *drag_link, | ||||
| float cursor[2]); | float cursor[2]); | ||||
| bool node_connected_to_output(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node); | bool node_connected_to_output(Main *bmain, bNodeTree *ntree, bNode *node); | ||||
| void NODE_OT_link(struct wmOperatorType *ot); | void NODE_OT_link(wmOperatorType *ot); | ||||
| void NODE_OT_link_make(struct wmOperatorType *ot); | void NODE_OT_link_make(wmOperatorType *ot); | ||||
| void NODE_OT_links_cut(struct wmOperatorType *ot); | void NODE_OT_links_cut(wmOperatorType *ot); | ||||
| void NODE_OT_links_detach(struct wmOperatorType *ot); | void NODE_OT_links_detach(wmOperatorType *ot); | ||||
| void NODE_OT_links_mute(struct wmOperatorType *ot); | void NODE_OT_links_mute(wmOperatorType *ot); | ||||
| void NODE_OT_parent_set(struct wmOperatorType *ot); | void NODE_OT_parent_set(wmOperatorType *ot); | ||||
| void NODE_OT_join(struct wmOperatorType *ot); | void NODE_OT_join(wmOperatorType *ot); | ||||
| void NODE_OT_attach(struct wmOperatorType *ot); | void NODE_OT_attach(wmOperatorType *ot); | ||||
| void NODE_OT_detach(struct wmOperatorType *ot); | void NODE_OT_detach(wmOperatorType *ot); | ||||
| void NODE_OT_link_viewer(struct wmOperatorType *ot); | void NODE_OT_link_viewer(wmOperatorType *ot); | ||||
| void NODE_OT_insert_offset(struct wmOperatorType *ot); | void NODE_OT_insert_offset(wmOperatorType *ot); | ||||
| /* node_edit.c */ | /* node_edit.c */ | ||||
| void snode_notify(struct bContext *C, struct SpaceNode *snode); | void snode_notify(bContext *C, SpaceNode *snode); | ||||
| void snode_dag_update(struct bContext *C, struct SpaceNode *snode); | void snode_dag_update(bContext *C, SpaceNode *snode); | ||||
| void snode_set_context(const struct bContext *C); | void snode_set_context(const bContext *C); | ||||
| void snode_update(struct SpaceNode *snode, struct bNode *node); | void snode_update(SpaceNode *snode, bNode *node); | ||||
| bool composite_node_active(struct bContext *C); | bool composite_node_active(bContext *C); | ||||
| bool composite_node_editable(struct bContext *C); | bool composite_node_editable(bContext *C); | ||||
| bool node_has_hidden_sockets(struct bNode *node); | bool node_has_hidden_sockets(bNode *node); | ||||
| void node_set_hidden_sockets(struct SpaceNode *snode, bNode *node, int set); | void node_set_hidden_sockets(SpaceNode *snode, bNode *node, int set); | ||||
| int node_render_changed_exec(bContext *, struct wmOperator *); | int node_render_changed_exec(bContext *, wmOperator *); | ||||
| bool node_find_indicated_socket(struct SpaceNode *snode, | bool node_find_indicated_socket( | ||||
| struct bNode **nodep, | SpaceNode *snode, bNode **nodep, bNodeSocket **sockp, const float cursor[2], int in_out); | ||||
| struct bNodeSocket **sockp, | float node_link_dim_factor(const View2D *v2d, const bNodeLink *link); | ||||
| const float cursor[2], | bool node_link_is_hidden_or_dimmed(const View2D *v2d, const bNodeLink *link); | ||||
| int in_out); | |||||
| float node_link_dim_factor(const struct View2D *v2d, const struct bNodeLink *link); | void NODE_OT_duplicate(wmOperatorType *ot); | ||||
| bool node_link_is_hidden_or_dimmed(const struct View2D *v2d, const struct bNodeLink *link); | void NODE_OT_delete(wmOperatorType *ot); | ||||
| void NODE_OT_delete_reconnect(wmOperatorType *ot); | |||||
| void NODE_OT_duplicate(struct wmOperatorType *ot); | void NODE_OT_resize(wmOperatorType *ot); | ||||
| void NODE_OT_delete(struct wmOperatorType *ot); | |||||
| void NODE_OT_delete_reconnect(struct wmOperatorType *ot); | void NODE_OT_mute_toggle(wmOperatorType *ot); | ||||
| void NODE_OT_resize(struct wmOperatorType *ot); | void NODE_OT_hide_toggle(wmOperatorType *ot); | ||||
| void NODE_OT_hide_socket_toggle(wmOperatorType *ot); | |||||
| void NODE_OT_mute_toggle(struct wmOperatorType *ot); | void NODE_OT_preview_toggle(wmOperatorType *ot); | ||||
| void NODE_OT_hide_toggle(struct wmOperatorType *ot); | void NODE_OT_options_toggle(wmOperatorType *ot); | ||||
| void NODE_OT_hide_socket_toggle(struct wmOperatorType *ot); | void NODE_OT_node_copy_color(wmOperatorType *ot); | ||||
| void NODE_OT_preview_toggle(struct wmOperatorType *ot); | |||||
| void NODE_OT_options_toggle(struct wmOperatorType *ot); | void NODE_OT_read_viewlayers(wmOperatorType *ot); | ||||
| void NODE_OT_node_copy_color(struct wmOperatorType *ot); | void NODE_OT_render_changed(wmOperatorType *ot); | ||||
| void NODE_OT_read_viewlayers(struct wmOperatorType *ot); | void NODE_OT_output_file_add_socket(wmOperatorType *ot); | ||||
| void NODE_OT_render_changed(struct wmOperatorType *ot); | void NODE_OT_output_file_remove_active_socket(wmOperatorType *ot); | ||||
| void NODE_OT_output_file_move_active_socket(wmOperatorType *ot); | |||||
| void NODE_OT_output_file_add_socket(struct wmOperatorType *ot); | |||||
| void NODE_OT_output_file_remove_active_socket(struct wmOperatorType *ot); | |||||
| void NODE_OT_output_file_move_active_socket(struct wmOperatorType *ot); | |||||
| void NODE_OT_switch_view_update(struct wmOperatorType *ot); | void NODE_OT_switch_view_update(wmOperatorType *ot); | ||||
| /* NOTE: clipboard_cut is a simple macro of copy + delete. */ | /* NOTE: clipboard_cut is a simple macro of copy + delete. */ | ||||
| void NODE_OT_clipboard_copy(struct wmOperatorType *ot); | void NODE_OT_clipboard_copy(wmOperatorType *ot); | ||||
| void NODE_OT_clipboard_paste(struct wmOperatorType *ot); | void NODE_OT_clipboard_paste(wmOperatorType *ot); | ||||
| void NODE_OT_tree_socket_add(struct wmOperatorType *ot); | void NODE_OT_tree_socket_add(wmOperatorType *ot); | ||||
| void NODE_OT_tree_socket_remove(struct wmOperatorType *ot); | void NODE_OT_tree_socket_remove(wmOperatorType *ot); | ||||
| void NODE_OT_tree_socket_change_type(struct wmOperatorType *ot); | void NODE_OT_tree_socket_change_type(wmOperatorType *ot); | ||||
| void NODE_OT_tree_socket_move(struct wmOperatorType *ot); | void NODE_OT_tree_socket_move(wmOperatorType *ot); | ||||
| void NODE_OT_shader_script_update(struct wmOperatorType *ot); | void NODE_OT_shader_script_update(wmOperatorType *ot); | ||||
| void NODE_OT_viewer_border(struct wmOperatorType *ot); | void NODE_OT_viewer_border(wmOperatorType *ot); | ||||
| void NODE_OT_clear_viewer_border(struct wmOperatorType *ot); | void NODE_OT_clear_viewer_border(wmOperatorType *ot); | ||||
| /* node_widgets.c */ | /* node_widgets.c */ | ||||
| void NODE_GGT_backdrop_transform(struct wmGizmoGroupType *gzgt); | void NODE_GGT_backdrop_transform(wmGizmoGroupType *gzgt); | ||||
| void NODE_GGT_backdrop_crop(struct wmGizmoGroupType *gzgt); | void NODE_GGT_backdrop_crop(wmGizmoGroupType *gzgt); | ||||
| void NODE_GGT_backdrop_sun_beams(struct wmGizmoGroupType *gzgt); | void NODE_GGT_backdrop_sun_beams(wmGizmoGroupType *gzgt); | ||||
| void NODE_GGT_backdrop_corner_pin(struct wmGizmoGroupType *gzgt); | void NODE_GGT_backdrop_corner_pin(wmGizmoGroupType *gzgt); | ||||
| void NODE_OT_cryptomatte_layer_add(struct wmOperatorType *ot); | void NODE_OT_cryptomatte_layer_add(wmOperatorType *ot); | ||||
| void NODE_OT_cryptomatte_layer_remove(struct wmOperatorType *ot); | void NODE_OT_cryptomatte_layer_remove(wmOperatorType *ot); | ||||
| /* node_geometry_attribute_search.cc */ | /* node_geometry_attribute_search.cc */ | ||||
| void node_geometry_add_attribute_search_button(const struct bContext *C, | void node_geometry_add_attribute_search_button(const bContext *C, | ||||
| const struct bNodeTree *node_tree, | const bNodeTree *node_tree, | ||||
| const struct bNode *node, | const bNode *node, | ||||
| struct PointerRNA *socket_ptr, | PointerRNA *socket_ptr, | ||||
| struct uiLayout *layout); | uiLayout *layout); | ||||
| extern const char *node_context_dir[]; | extern const char *node_context_dir[]; | ||||
| /* XXXXXX */ | /* XXXXXX */ | ||||
| /* Nodes draw without dpi - the view zoom is flexible. */ | /* Nodes draw without dpi - the view zoom is flexible. */ | ||||
| #define HIDDEN_RAD (0.75f * U.widget_unit) | #define HIDDEN_RAD (0.75f * U.widget_unit) | ||||
| #define BASIS_RAD (0.2f * U.widget_unit) | #define BASIS_RAD (0.2f * U.widget_unit) | ||||
| Show All 14 Lines | |||||