diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-27 16:27:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-27 16:27:06 +0300 |
commit | b6acf0bb48e8d8e606a7b4b9c0d96337091c0bd4 (patch) | |
tree | e4c84496a8d9358c59007eb6efeef5a1e640c154 /source/blender/editors/include/ED_space_api.h | |
parent | 34857189bccb14f94076bce9728b5abbe92113ad (diff) |
python support for defining region drawing callbacks, while not directly related to operators, this means python can now make operators that draw in the 3D viewport interactively.
nicer then 2.4x space handelers because you can register draw handelers to draw pre/post 3d space or in pixel space.
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 7f2effdd975..3529eddd6d9 100644 --- a/source/blender/editors/include/ED_space_api.h +++ b/source/blender/editors/include/ED_space_api.h @@ -69,6 +69,7 @@ void *ED_region_draw_cb_activate(struct ARegionType *, void *custumdata, int type); void ED_region_draw_cb_draw(const struct bContext *, struct ARegion *, int); void ED_region_draw_cb_exit(struct ARegionType *, void *); +void *ED_region_draw_cb_customdata(void *handle); #endif /* ED_SPACE_API_H */ |