diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-04-23 18:15:45 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-04-23 18:15:45 +0300 |
commit | 8e861725dc9e9388c1c764491676c0684b1b6f8f (patch) | |
tree | 41aeb7ff4672bbacbef62ec873366029e23a3765 /source/blender/editors/include/ED_space_api.h | |
parent | 58a1eb9a00290adc68ea5391de9d188fc108a945 (diff) |
Space_node: Add draw backdrop callback.
Add a callback to allow custom node editors to draw their own
backdrop.
Differential Revision: https://developer.blender.org/D4709
Reviewed by: JacquesLucke
Diffstat (limited to 'source/blender/editors/include/ED_space_api.h')
-rw-r--r-- | source/blender/editors/include/ED_space_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_space_api.h b/source/blender/editors/include/ED_space_api.h index 01de5fd8441..766f2b31192 100644 --- a/source/blender/editors/include/ED_space_api.h +++ b/source/blender/editors/include/ED_space_api.h @@ -62,6 +62,7 @@ void ED_file_exit(void); #define REGION_DRAW_POST_VIEW 0 #define REGION_DRAW_POST_PIXEL 1 #define REGION_DRAW_PRE_VIEW 2 +#define REGION_DRAW_BACKDROP 3 void *ED_region_draw_cb_activate(struct ARegionType *, void (*draw)(const struct bContext *, struct ARegion *, void *), |