diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-10 19:49:22 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-10 19:49:22 +0300 |
commit | 446933c73f859648c16d7a50344fdbee175f16a8 (patch) | |
tree | 5976200f0a5e7ff7abcd95c2376671ce55cff346 /source/blender/editors/include/ED_space_api.h | |
parent | f26d9b877197a23a62026a259f1441a4d985c4c3 (diff) |
2.5
Added custom data pointer to custom region_draw_cb
Also removed the test with green rect.
Diffstat (limited to 'source/blender/editors/include/ED_space_api.h')
-rw-r--r-- | source/blender/editors/include/ED_space_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_space_api.h b/source/blender/editors/include/ED_space_api.h index 20b1e2b5499..08d2894ddf7 100644 --- a/source/blender/editors/include/ED_space_api.h +++ b/source/blender/editors/include/ED_space_api.h @@ -61,8 +61,8 @@ void ED_file_exit(void); #define REGION_DRAW_POST 0 void *ED_region_draw_cb_activate(struct ARegionType *, - void (*draw)(const struct bContext *, struct ARegion *), - int type); + void (*draw)(const struct bContext *, struct ARegion *, void *), + 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 *); |