diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-09-29 18:36:08 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-09-29 18:36:08 +0400 |
commit | 60e77c50ee13962ec06c42f319946925be7ece69 (patch) | |
tree | 9bfea194489a20b30d42dbeb8108573fca50dde1 /source/blender/windowmanager/WM_api.h | |
parent | 3982f9daf072f403af5e7e2d8f836374ba8fef9e (diff) |
Draw manipulator from widget callback (handling still done separately)
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 13e30091f81..e206b5213e0 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -468,13 +468,15 @@ struct wmWidget *WM_widget_new(int (*poll)(const struct bContext *C, void *custo void (*handler)(struct bContext *C, struct wmEvent *event, void *customdata), void *customdata, bool free_data, bool requires_ogl); -void WM_widgets_delete(struct wmWidget *widget); +void WM_widgets_delete(ListBase *widgetlist, struct wmWidget *widget); void WM_widgets_draw(const struct bContext *C, struct ARegion *ar); void WM_widget_handler_register(struct ARegion *ar); -void WM_widget_register(ListBase *widgetlist, struct wmWidget *widget); +bool WM_widget_register(ListBase *widgetlist, struct wmWidget *widget); void WM_widget_unregister(ListBase *widgetlist, struct wmWidget *widget); struct ListBase *WM_widgetmap_find(const char *idname, int spaceid, int regionid); +void WM_widgetmaps_free(void); + #ifdef __cplusplus } |