Blender V2.61 - r43446
Functions

node_header.c File Reference

#include <string.h>
#include <stdio.h>
#include "DNA_space_types.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "BLF_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_node.h"
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "node_intern.h"

Go to the source code of this file.

Functions

static void do_node_add (bContext *C, bNodeTemplate *ntemp)
static void do_node_add_static (bContext *C, void *UNUSED(arg), int event)
static void do_node_add_group (bContext *C, void *UNUSED(arg), int event)
static int node_tree_has_type (int treetype, int nodetype)
static void node_add_menu (bContext *C, uiLayout *layout, void *arg_nodeclass)
static void node_menu_add_foreach_cb (void *calldata, int nclass, const char *name)
static void node_menu_add (const bContext *C, Menu *menu)
void node_menus_register (void)

Detailed Description

Definition in file node_header.c.


Function Documentation

static void do_node_add ( bContext C,
bNodeTemplate ntemp 
) [static]
static void do_node_add_group ( bContext C,
void *  UNUSEDarg,
int  event 
) [static]
static void do_node_add_static ( bContext C,
void *  UNUSEDarg,
int  event 
) [static]

Definition at line 111 of file node_header.c.

References do_node_add(), and bNodeTemplate::type.

Referenced by node_add_menu().

static void node_add_menu ( bContext C,
uiLayout layout,
void *  arg_nodeclass 
) [static]
static void node_menu_add ( const bContext C,
Menu menu 
) [static]
static void node_menu_add_foreach_cb ( void *  calldata,
int  nclass,
const char *  name 
) [static]

Definition at line 229 of file node_header.c.

References node_add_menu(), SET_INT_IN_POINTER, and uiItemMenuF().

Referenced by node_menu_add().

void node_menus_register ( void  )
static int node_tree_has_type ( int  treetype,
int  nodetype 
) [static]