blender/intern/ghost
Damien Plisson 0e6b88f993 Cocoa : implement opening .blend file by double-clicking on it in OSX Finder
When the user double-clicks on a document file in the Finder, OSX doesn't simply give the filename as a command-line argument when calling Blender, as it is done in other OSes.
Instead, it launches the app if needed, and then sends an "openFile" event.

The user can also open a document file by dropping its icon on the app dock icon. But as this is not real Drag'n'drop, I've renamed the Ghost event to a less confusing "GHOST_kEventOpenMainFile" name.

DND Ghost wiki page updated : http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DragnDrop
2010-02-01 09:11:18 +00:00
..
doc This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
intern Cocoa : implement opening .blend file by double-clicking on it in OSX Finder 2010-02-01 09:11:18 +00:00
make Update MSVC project files 2010-01-17 19:19:33 +00:00
test Big, big commit!! 2009-05-05 23:10:32 +00:00
CMakeLists.txt Patch [#20588] Adding multisample support to Win32 Ghost - by Mitchell Stokes (Moguri) 2010-01-13 19:02:13 +00:00
GHOST_C-api.h OpenGL Anti-aliasing implementation for blender windows 2010-01-06 11:42:52 +00:00
GHOST_IEvent.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
GHOST_IEventConsumer.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
GHOST_ISystem.h OpenGL Anti-aliasing implementation for blender windows 2010-01-06 11:42:52 +00:00
GHOST_ITimerTask.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
GHOST_IWindow.h Cocoa : correctly handle late events sent after window deactivate 2010-01-28 19:18:36 +00:00
GHOST_Rect.h - wrapping failed with the cursor at the screen edge, 2009-10-17 14:54:13 +00:00
GHOST_Types.h Cocoa : implement opening .blend file by double-clicking on it in OSX Finder 2010-02-01 09:11:18 +00:00
Makefile Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
SConscript patch [#20612] Making Blender compile on AIX 4.3.3 2010-01-19 10:57:59 +00:00