mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
16 lines
257 B
Plaintext
16 lines
257 B
Plaintext
#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;
|
|
}
|
|
|
|
}
|