diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-09-24 21:09:07 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-09-24 21:09:07 +0400 |
commit | 6dcc3f0b918b1f9c82218e2b55602da8ae44f766 (patch) | |
tree | 394512e56afc433779b6c2218365640041f2b1a5 /source/blender/windowmanager/WM_api.h | |
parent | 2bb6d18f41b51dec09d579f710d3c99004301994 (diff) |
change widget code, area now just stores a pointer to the widget list
corresponidng to it.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 3b0ed3650be..13e30091f81 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -472,8 +472,8 @@ void WM_widgets_delete(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(struct ARegion *ar, struct wmWidget *widget); -void WM_widget_unregister(struct ARegion *ar, struct wmWidget *widget); +void 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); #ifdef __cplusplus |