add ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensions
authorCampbell Barton <ideasman42@gmail.com>
Thu, 31 Jan 2013 10:42:26 +0000 (10:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 31 Jan 2013 10:42:26 +0000 (10:42 +0000)
commit73f301c3a8a28dd25ea850a54d968fc6c4f2b83e
treed8f26b84286c7468aa3d1cc71b929e890fb59a2e
parent4d2efa877e305fc29121030120b7c53ae57950c4
add ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensions

This returns the desktop size, not just the size of the active monitor, useful since this constrains the mouse and we dont have to detect the active monitor (which isn't so straightforward with xlib).

carbon/cocoa are TODO, they still use getMainDisplayDimensions().
13 files changed:
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_ISystem.h
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_SystemCarbon.cpp
intern/ghost/intern/GHOST_SystemCarbon.h
intern/ghost/intern/GHOST_SystemCocoa.h
intern/ghost/intern/GHOST_SystemCocoa.mm
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_SystemWin32.h
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
source/blender/windowmanager/intern/wm_window.c
source/blender/windowmanager/wm_window.h