~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/editors/include/ED_node.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
struct bNode;
42
42
struct bNodeTree;
43
43
struct ScrArea;
 
44
struct Scene;
 
45
struct View2D;
 
46
 
 
47
typedef enum {
 
48
        NODE_TOP    = 1,
 
49
        NODE_BOTTOM = 2,
 
50
        NODE_LEFT   = 4,
 
51
        NODE_RIGHT  = 8
 
52
} NodeBorder;
44
53
 
45
54
/* drawnode.c */
46
 
void ED_init_node_butfuncs(void);
 
55
void ED_node_init_butfuncs(void);
 
56
void ED_node_sample_set(const float col[4]);
 
57
void ED_node_draw_snap(struct View2D *v2d, const float cent[2], float size, NodeBorder border);
47
58
 
48
59
/* node_draw.c */
49
60
void ED_node_tree_update(struct SpaceNode *snode, struct Scene *scene);
50
61
void ED_node_changed_update(struct ID *id, struct bNode *node);
51
62
void ED_node_generic_update(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node);
 
63
void ED_node_sort(struct bNodeTree *ntree);
 
64
 
 
65
/* node_relationships.c */
 
66
void ED_node_link_intersect_test(struct ScrArea *sa, int test);
 
67
void ED_node_link_insert(struct ScrArea *sa);
52
68
 
53
69
/* node_edit.c */
54
70
void ED_node_shader_default(struct Scene *scene, struct ID *id);
55
71
void ED_node_composit_default(struct Scene *sce);
56
72
void ED_node_texture_default(struct Tex *tex);
57
 
void ED_node_link_intersect_test(struct ScrArea *sa, int test);
58
 
void ED_node_link_insert(struct ScrArea *sa);
59
 
 
60
 
void ED_node_update_hierarchy(struct bContext *C, struct bNodeTree *ntree);
61
 
 
 
73
int  ED_node_select_check(ListBase *lb);
 
74
void ED_node_post_apply_transform(struct bContext *C, struct bNodeTree *ntree);
62
75
void ED_node_set_active(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node);
63
 
/* node ops.c */
 
76
 
 
77
void ED_node_composite_job(const bContext *C, struct bNodeTree *nodetree, struct Scene *scene_owner);
 
78
 
 
79
/* node_ops.c */
64
80
void ED_operatormacros_node(void);
65
81
 
 
82
/* node_view.c */
 
83
int ED_space_node_color_sample(struct SpaceNode *snode, struct ARegion *ar, int mval[2], float r_col[3]);
 
84
 
66
85
#endif /* __ED_NODE_H__ */
67
86