You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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;
|
|
}
|
|
|
|
}
|