diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-10-10 15:33:20 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-10-10 15:33:20 +0400 |
commit | 77a0b90cdf5d42b774f75b392aa0e3aeb7ed3452 (patch) | |
tree | 26f13efed3174bb02f0619476f2888da54777f52 /source/creator | |
parent | bbd9b5f47667138b192b011d338293b217bb4a1e (diff) |
Cleanup: Consistent names for draw callbacks in bNodeType.
This aims to establish a common pattern for the various confusing draw callback function pointers in bNodeType:
draw_<purpose>_<nodetype>[_ex]
Currently there are 4 different types of draw callbacks:
* draw_nodetype, draw_nodetype_prepare: Main draw functions, allows specialized node drawing for things like frames and reroute nodes. Not exposed in the API.
* draw_buttons, draw_buttons_ex: Optional non-socket buttons, most commonly used callback. Extended version used in sidebar for verbose buttons that don't fit into a node.
* draw_backdrop: Draw elements in the backdrop (compositor only). Not exposed in the API.
* draw_input, draw_output: Specialized socket drawing for some nodes, only for OutputFile node. Should not be used any further and be removed at some point. Not exposed in the API.
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions