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