Blender V2.61 - r43446

ED_node.h

Go to the documentation of this file.
00001 /*
00002  * ***** BEGIN GPL LICENSE BLOCK *****
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version. 
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  *
00018  * The Original Code is Copyright (C) 2009 Blender Foundation.
00019  * All rights reserved.
00020  *
00021  * 
00022  * Contributor(s): Blender Foundation
00023  *
00024  * ***** END GPL LICENSE BLOCK *****
00025  */
00026 
00031 #ifndef ED_NODE_H
00032 #define ED_NODE_H
00033 
00034 struct ID;
00035 struct Main;
00036 struct Material;
00037 struct Scene;
00038 struct Tex;
00039 struct bContext;
00040 struct bNodeTree;
00041 struct bNode;
00042 struct bNodeTree;
00043 struct ScrArea;
00044 
00045 /* drawnode.c */
00046 void ED_init_node_butfuncs(void);
00047 
00048 /* node_draw.c */
00049 void ED_node_tree_update(struct SpaceNode *snode, struct Scene *scene);
00050 void ED_node_changed_update(struct ID *id, struct bNode *node);
00051 void ED_node_generic_update(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node);
00052 
00053 /* node_edit.c */
00054 void ED_node_shader_default(struct Scene *scene, struct ID *id);
00055 void ED_node_composit_default(struct Scene *sce);
00056 void ED_node_texture_default(struct Tex *tex);
00057 void ED_node_link_intersect_test(struct ScrArea *sa, int test);
00058 void ED_node_link_insert(struct ScrArea *sa);
00059 
00060 void ED_node_update_hierarchy(struct bContext *C, struct bNodeTree *ntree);
00061 
00062 void ED_node_set_active(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node);
00063 /* node ops.c */
00064 void ED_operatormacros_node(void);
00065 
00066 #endif /* ED_NODE_H */
00067