diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-26 06:49:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-26 06:49:58 +0300 |
commit | acb99cfd7b4f74b1c32ae7fb37f40afb0c0f3c7b (patch) | |
tree | 7a4541e2352955a9009184a46194b8b4a8eedaf1 /source/blender/editors/include | |
parent | 3ee74feb2b0f6988ed17a5583998fac768ce7021 (diff) |
Return success when a screen was added/removed
Currently unused, but useful for screen-operators.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 6ffe005ca1a..5bc606ca725 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -102,8 +102,8 @@ void ED_screen_refresh(struct wmWindowManager *wm, struct wmWindow *win); void ED_screen_do_listen(struct bContext *C, struct wmNotifier *note); bScreen *ED_screen_duplicate(struct wmWindow *win, struct bScreen *sc); bScreen *ED_screen_add(struct wmWindow *win, struct Scene *scene, const char *name); -void ED_screen_set(struct bContext *C, struct bScreen *sc); -void ED_screen_delete(struct bContext *C, struct bScreen *sc); +bool ED_screen_set(struct bContext *C, struct bScreen *sc); +bool ED_screen_delete(struct bContext *C, struct bScreen *sc); void ED_screen_set_scene(struct bContext *C, struct bScreen *screen, struct Scene *scene); bool ED_screen_delete_scene(struct bContext *C, struct Scene *scene); void ED_screen_set_subwinactive(struct bContext *C, struct wmEvent *event); |