diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-10-17 21:17:05 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-10-17 21:17:05 +0400 |
commit | 388dc243302ee522aedc7ee866cd45e61a91d890 (patch) | |
tree | 4f2632b8699bdc05f16cd020e39fa20ad140b7a0 /source/blender/windowmanager/WM_api.h | |
parent | 97bb7d0a5ba1cbd0d34bb4408090329a468065c8 (diff) |
Hook widget event to the lamp operator.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 758d2e55ffa..3c5bc3905d0 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -474,7 +474,7 @@ struct wmWidget *WM_widget_new(void (*draw)(struct wmWidget *, const struct bCon void (*render_3d_intersection)(const struct bContext *, struct wmWidget *, float, int), int (*intersect)(struct bContext *C, const struct wmEvent *event, struct wmWidget *customdata), int (*initialize_op)(struct bContext *, const struct wmEvent *, struct wmWidget *, struct PointerRNA *), - int (*handler)(struct bContext *, const struct wmEvent *, struct wmWidget *), + int (*handler)(struct bContext *, const struct wmEvent *, struct wmWidget *, struct wmOperator *op), void *customdata, bool free_data, char *opname, char *prop); void WM_widgets_draw(const struct bContext *C, struct ARegion *ar); |