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:
parent
d327320b59
commit
bfcc54db3d
@ -37,17 +37,18 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
#if defined(CSFML_SYSTEM_WINDOWS)
|
||||
|
||||
// Windows defines a void* handle (HWND)
|
||||
typedef void* sfWindowHandle;
|
||||
// Window handle is HWND (HWND__*) on Windows
|
||||
struct HWND__;
|
||||
typedef HWND__* sfWindowHandle;
|
||||
|
||||
#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;
|
||||
|
||||
#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;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user