diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-29 00:50:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-29 00:50:06 +0300 |
commit | 98577f4e02ea50cd3daeb5900e30485de994942d (patch) | |
tree | 68f1ed23edccfb08d6825ac6e2a12d5c1b2cc90e /source/blender/makesdna | |
parent | 59ef1bca6a1525b099fc92d0623b490c4dc63921 (diff) |
Review done with Matt; so here's a nicer version of the 'mini node'.
- nodes now have in header a triangle to minimize them or restore view
- mininodes have a scale dragger on right hand
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 3c350e5c559..92183a4ec05 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -89,8 +89,10 @@ typedef struct bNode { void *storage; /* custom data, must be struct, for storage in file */ float locx, locy; /* root offset for drawing */ - float width; + float width, miniwidth; short custom1, custom2; /* to be abused for buttons */ + int pad3; + rctf totr; /* entire boundbox */ rctf butr; /* optional buttons area */ rctf prvr; /* optional preview area */ |