Lines Matching refs:win
68 NSWindow* win = (NSWindow *)p_window;
69 if (!win) {
74 NSRect content_rect = [win contentRectForFrameRect:[win frame]];
90 [[win contentView] addSubview:glView];
91 [win makeKeyAndOrderFront:nil];
101 void destroySubWindow(EGLNativeWindowType win) {
102 if(win){
103 NSView *glView = (NSView *)win;
116 NSWindow *win = (NSWindow *)p_parent_window;
117 if (!win) {
130 NSRect content_rect = [win contentRectForFrameRect:[win frame]];
136 [[win contentView] addSubview:glView];