diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-06-02 00:21:40 +0400 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-06-02 00:21:40 +0400 |
commit | 3f326354b8b09c2f08b114b4030e49bbbfa693af (patch) | |
tree | f7e619791d39fb7ae7e4cc69c3b44a72eb8a2f4e /source/blender/windowmanager/WM_api.h | |
parent | 66e3a6e0efd782c09bd94dd22313558f3b91240b (diff) |
Progress indicator in the application icon
Displays a global progress indicator in the application icon reflecting the total progress of all running jobs.
Currently fully implemented on OSX (Cocoa).
On other OSes that do not allow to redraw the app icon, this can be implemented as a [x%] display in the app title, so to appear in the taskbar.
Thanks to Matt for the windowmanager wrapper.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 40186f40e9d..2b159daf6a1 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -324,5 +324,9 @@ void WM_jobs_stop_all(struct wmWindowManager *wm); char *WM_clipboard_text_get(int selection); void WM_clipboard_text_set(char *buf, int selection); + /* progress */ +void WM_progress_set(struct wmWindow *win, float progress); +void WM_progress_clear(struct wmWindow *win); + #endif /* WM_API_H */ |