diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-29 12:29:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-29 12:29:04 +0400 |
commit | 02608d257a9358e3bd756f1db8c8f53484c34c37 (patch) | |
tree | 46e155fde459e42761afc44c46e6f01ff087fa71 /source/blender/windowmanager/WM_api.h | |
parent | c9eb93d9fd967b47a4a6f45db6472772bb9c9af8 (diff) |
add api call for initializing events from the windows eventstate.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 7cb24daaaef..76fb88c8d25 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -187,6 +187,8 @@ __attribute__ ((format(printf, 3, 4))) ; void wm_event_add(struct wmWindow *win, const struct wmEvent *event_to_add); +void wm_event_init_from_window(struct wmWindow *win, struct wmEvent *event); + /* at maximum, every timestep seconds it triggers event_type events */ struct wmTimer *WM_event_add_timer(struct wmWindowManager *wm, struct wmWindow *win, int event_type, double timestep); |