diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-15 22:19:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-15 22:19:39 +0300 |
commit | 6283b0c8c5a93baafa040c612ed356472b633582 (patch) | |
tree | 8b38ef8fbc1a0fef93418f249cd0860e5fe3f3a3 /source/blender/windowmanager/WM_types.h | |
parent | aad5e497013dc37acc1913fbbeec4bc0d16ccbc6 (diff) |
UI: getting popup menus to work again, just the internal interface
and event handling code still, how it integrates with operators and
handlers is not worked out yet. For testing, Ctrl+Q quit now shows
a confirmation popup using the following call:
okee_operator(C, "WM_OT_exit_blender", "Quit Blender");
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index b301976aeae..7307cb4bf23 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -91,8 +91,8 @@ typedef struct wmEvent { #define WM_UI_HANDLER_CONTINUE 0 #define WM_UI_HANDLER_BREAK 1 -typedef int (*wmUIHandlerFunc)(bContext *C, struct wmEvent *event); -typedef void (*wmUIHandlerRemoveFunc)(bContext *C); +typedef int (*wmUIHandlerFunc)(bContext *C, struct wmEvent *event, void *userdata); +typedef void (*wmUIHandlerRemoveFunc)(bContext *C, void *userdata); /* ************** Notifiers ****************** */ |