Cleanup of area-rip operator
authorTon Roosendaal <ton@blender.org>
Tue, 18 Nov 2008 13:51:02 +0000 (13:51 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 18 Nov 2008 13:51:02 +0000 (13:51 +0000)
commit13ac9079cccff2364c42ffdc708ea951dbe410ca
tree16226593a5d676f32a4ddd6f4000e84d233fa2be
parentc3da1af01c1584a8e23b9c6875bcb784fec00ed5
Cleanup of area-rip operator

- moved from WM to Screen code (it uses active area)
- less code :) result of cleaning some calls
- added WM_window_open() to WM API for this
- now opens new window on top of area, and leaves old screen unaffected
  (simple, atomic, the 'do not think for user' convention :)
source/blender/editors/include/ED_screen.h
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_intern.h
source/blender/editors/screen/screen_ops.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/intern/wm_window.c
source/blender/windowmanager/wm_window.h