Blender Git Loki
Git Commits -> Revision a344977
Revision a344977 by Damien Plisson (master) October 5, 2009, 12:55 (GMT) |
Cocoa port : - Window creation at preferred size Implement in Ghost the use of Cocoa functions to get the maximum visible rect (size and position) for the window contents (all screen excluding dock, top menu, and window title bar) Thus Apple specific code in window creation (wm_window.c & wm_apple.c) is no more needed => removed in case of Cocoa build - Alert on exiting despite unsaved changes Add to GHOST method to maintain an all platforms (not apple specific anymore) status on unsaved changes Update GHOST_SystemCocoa to use this for asking or not user to confirm exit without saving changes |
Commit Details:
Full Hash: a3449771476955fd4a27eadd17ff4dce2655cc16
SVN Revision: 23633
Parent Commit: 3ec79d7
Lines Changed: +219, -63
14 Modified Paths:
/intern/ghost/GHOST_C-api.h (+10, -0) (Diff)
/intern/ghost/GHOST_IWindow.h (+13, -0) (Diff)
/intern/ghost/GHOST_Types.h (+6, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+85, -32) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+14, -0) (Diff)
/intern/ghost/intern/GHOST_Window.h (+16, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+12, -6) (Diff)
/intern/ghost/intern/GHOST_WindowManager.cpp (+15, -4) (Diff)
/intern/ghost/intern/GHOST_WindowManager.h (+6, -4) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+12, -5) (Diff)
/intern/ghost/GHOST_IWindow.h (+13, -0) (Diff)
/intern/ghost/GHOST_Types.h (+6, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+85, -32) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+14, -0) (Diff)
/intern/ghost/intern/GHOST_Window.h (+16, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+12, -6) (Diff)
/intern/ghost/intern/GHOST_WindowManager.cpp (+15, -4) (Diff)
/intern/ghost/intern/GHOST_WindowManager.h (+6, -4) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+12, -5) (Diff)