mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 17:19:56 +00:00
15 lines
257 B
Text
15 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;
|
|
}
|
|
|
|
}
|