diff options
author | Ton Roosendaal <ton@blender.org> | 2009-07-24 16:43:59 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-07-24 16:43:59 +0400 |
commit | 6abddb0fc4ca483f03e5a111c558824493006af5 (patch) | |
tree | a37ee42c3ebdfa7da10237936ff61f9c0264a5f1 /source/blender/windowmanager/wm_window.h | |
parent | 1844fc7057fcc342c4bc9f4e1385bc97a2bd33e6 (diff) |
2.5
New feature: allowing to open temporarily windows for output.
Implemented for:
- Render output (use output menu "new window" option).
- User Preferences (alt+U, plus added in 'File' menu)
Currently the window opens where your mouse is. The Render window
works as usual, with ESC or F11 moving it to back or front again.
That allows the window position to remain where you moved it on
new renders.
If you close a render window when it renders, the render thread
will be killed.
User prefs show 'info window' now... i thought we'd use outliner?
Anyhoo, I've made the 'save settings' to close the 2nd window as
well.
Opening a secondary file window for save I'll check on later,
this has to be checked with the current event system still.
the WM_window_open_temp() api call for this maintains currently
a *single* temp window. If you have a render window open, and call
for the preferences, the render window will be used for it. And
the other way around.
On closing the blender window, the temp windows close automatically
when there's no regular window open, and blender quits.
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r-- | source/blender/windowmanager/wm_window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h index 45fa9bf6cf7..c2a2b00b796 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -36,6 +36,7 @@ void wm_ghost_init (bContext *C); wmWindow *wm_window_new (bContext *C); void wm_window_free (bContext *C, wmWindow *win); +void wm_window_close (bContext *C, wmWindow *win); void wm_window_title (wmWindowManager *wm, wmWindow *win); void wm_window_add_ghostwindows (wmWindowManager *wm); |