mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 13:57:59 +03:00
16 lines
257 B
Text
16 lines
257 B
Text
![]() |
#include "osx_utils.h"
|
||
|
#import <AppKit/NSWindow.h>
|
||
|
|
||
|
|
||
|
namespace SFO {
|
||
|
|
||
|
unsigned long WindowContentViewHandle(SDL_SysWMinfo &info)
|
||
|
{
|
||
|
NSWindow *window = info.info.cocoa.window;
|
||
|
NSView *view = [window contentView];
|
||
|
|
||
|
return (unsigned long)view;
|
||
|
}
|
||
|
|
||
|
}
|