diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-04 00:37:07 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-04 00:37:07 +0400 |
commit | 42f6136da8d7325bdb8580d734566b6c8e578e2a (patch) | |
tree | b28d549836dc03afe8a0f30713dd1fcd151c9914 /source/blender/windowmanager/WM_api.h | |
parent | 7eed4d5c4fa7e1acd179c1d340987bf735ec2963 (diff) |
Fix #35991: show warning message to when trying to edit driven values in number buttons.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 72b54e2f1f7..f7cd382dc91 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -178,6 +178,14 @@ void WM_event_add_notifier(const struct bContext *C, unsigned int type, void *r void WM_main_add_notifier(unsigned int type, void *reference); void WM_main_remove_notifier_reference(const void *reference); + /* reports */ +void WM_report(const struct bContext *C, ReportType type, const char *message); +void WM_reportf(const struct bContext *C, ReportType type, const char *format, ...) +#ifdef __GNUC__ +__attribute__ ((format(printf, 3, 4))) +#endif +; + void wm_event_add(struct wmWindow *win, const struct wmEvent *event_to_add); /* at maximum, every timestep seconds it triggers event_type events */ |