Blender V2.61 - r43446
Defines | Functions

node_buttons.c File Reference

#include <string.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
#include "MEM_guardedalloc.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "BLI_math.h"
#include "BLI_blenlib.h"
#include "BLI_rand.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_node.h"
#include "BKE_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "ED_gpencil.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_intern.h"

Go to the source code of this file.

Defines

#define B_NOP   1
#define B_REDR   2

Functions

static void do_node_region_buttons (bContext *C, void *UNUSED(arg), int event)
static int active_node_poll (const bContext *C, PanelType *UNUSED(pt))
static void active_node_panel (const bContext *C, Panel *pa)
static int node_sockets_poll (const bContext *C, PanelType *UNUSED(pt))
static void node_sockets_panel (const bContext *C, Panel *pa)
void node_buttons_register (ARegionType *art)
static int node_properties (bContext *C, wmOperator *UNUSED(op))
static int node_properties_poll (bContext *C)
void NODE_OT_properties (wmOperatorType *ot)

Detailed Description

Definition in file node_buttons.c.


Define Documentation

#define B_NOP   1

Definition at line 67 of file node_buttons.c.

#define B_REDR   2

Definition at line 68 of file node_buttons.c.


Function Documentation

static void active_node_panel ( const bContext C,
Panel pa 
) [static]
static int active_node_poll ( const bContext C,
PanelType UNUSEDpt 
) [static]

Definition at line 82 of file node_buttons.c.

References CTX_wm_space_node(), and SpaceNode::nodetree.

Referenced by node_buttons_register().

static void do_node_region_buttons ( bContext C,
void *  UNUSEDarg,
int  event 
) [static]

Definition at line 70 of file node_buttons.c.

References B_REDR, CTX_wm_area(), and ED_area_tag_redraw().

Referenced by active_node_panel().

void node_buttons_register ( ARegionType art)
void NODE_OT_properties ( wmOperatorType ot)
static int node_properties ( bContext C,
wmOperator UNUSEDop 
) [static]
static int node_properties_poll ( bContext C) [static]

Definition at line 197 of file node_buttons.c.

References CTX_wm_area(), SPACE_NODE, and ScrArea::spacetype.

Referenced by NODE_OT_properties().

static void node_sockets_panel ( const bContext C,
Panel pa 
) [static]
static int node_sockets_poll ( const bContext C,
PanelType UNUSEDpt 
) [static]

Definition at line 129 of file node_buttons.c.

References CTX_wm_space_node(), G, and SpaceNode::nodetree.

Referenced by node_buttons_register().