Updated sfWindowHandle in CSFML (sync with sf::WindowHandle)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1581 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-10-13 21:43:24 +00:00
parent d327320b59
commit bfcc54db3d

View File

@ -37,17 +37,18 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#if defined(CSFML_SYSTEM_WINDOWS) #if defined(CSFML_SYSTEM_WINDOWS)
// Windows defines a void* handle (HWND) // Window handle is HWND (HWND__*) on Windows
typedef void* sfWindowHandle; struct HWND__;
typedef HWND__* sfWindowHandle;
#elif defined(CSFML_SYSTEM_LINUX) || defined(CSFML_SYSTEM_FREEBSD) #elif defined(CSFML_SYSTEM_LINUX) || defined(CSFML_SYSTEM_FREEBSD)
// Unix - X11 defines an unsigned integer handle (Window) // Window handle is Window (unsigned long) on Unix - X11
typedef unsigned long sfWindowHandle; typedef unsigned long sfWindowHandle;
#elif defined(CSFML_SYSTEM_MACOS) #elif defined(CSFML_SYSTEM_MACOS)
// Mac OS X defines a void* handle (NSWindow) // Window handle is NSWindow (void*) on Mac OS X - Cocoa
typedef void* sfWindowHandle; typedef void* sfWindowHandle;
#endif #endif