Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-05-02 22:07:01 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-05-02 22:07:01 +0400
commit3336909050ed97fd352427698c34cd802428efd1 (patch)
treeafb767924d623eb715a368f8b81e45e289bda3c6 /source/blender/blenkernel/BKE_node.h
parent4413e0472d55c979777a9c5b7a9bb95497cbaa84 (diff)
parenta1f4be4577776add4a71ac3446aceb4195234fc7 (diff)
Merging r46137 through r46202 from trunk into soc-2011-tomato
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r--source/blender/blenkernel/BKE_node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h
index 4f3a6d4e174..3b00fa5f4c9 100644
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@ -145,6 +145,9 @@ typedef struct bNodeType {
void (*uifunc)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr);
/// Additional parameters in the side panel.
void (*uifuncbut)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr);
+ /// Draw a node socket. Default draws the input value button.
+ NodeSocketButtonFunction drawinputfunc;
+ NodeSocketButtonFunction drawoutputfunc;
/// Optional custom label function for the node header.
const char *(*labelfunc)(struct bNode *);
/// Optional custom resize handle polling.