• Home
  • Raw
  • Download

Lines Matching refs:fWindow

47     if (fWindow) {
65 fWindow = [[NSWindow alloc] initWithContentRect:windowRect styleMask:windowStyle
67 if (nil == fWindow) {
75 [fWindow release];
80 [fWindow setContentView:view];
81 [fWindow makeFirstResponder:view];
82 [fWindow setDelegate:delegate];
83 [fWindow setAcceptsMouseMovedEvents:YES];
84 [fWindow setRestorable:NO];
89 fWindowNumber = fWindow.windowNumber;
96 if (nil != fWindow) {
99 [NSApp terminate:fWindow];
101 [fWindow close];
102 fWindow = nil;
108 [fWindow setTitle:titleStr];
113 [fWindow orderFront:nil];
116 [fWindow makeKeyAndOrderFront:NSApp];
123 info.fMainView = [fWindow contentView];
157 return sk_app::GetBackingScaleFactor(fWindow.contentView);
173 sk_app::Window_mac* fWindow;
177 fWindow = initWindow;
183 NSView* view = fWindow->window().contentView;
185 fWindow->onResize(view.bounds.size.width * scale, view.bounds.size.height * scale);
186 fWindow->inval();
190 fWindow->closeWindow();
269 sk_app::Window_mac* fWindow;
280 fWindow = initWindow;
348 (void) fWindow->onKey(cur.key, state, modifiers);
372 if (!fWindow->onKey(key, skui::InputState::kDown, modifiers)) {
374 [NSApp terminate:fWindow->window()];
385 (void) fWindow->onChar((SkUnichar) charBuffer[i], modifiers);
396 (void) fWindow->onKey(key, skui::InputState::kUp, modifiers);
405 NSView* view = fWindow->window().contentView;
412 fWindow->onMouse(pos.x * backingScaleFactor, (rect.size.height - pos.y) * backingScaleFactor,
417 NSView* view = fWindow->window().contentView;
424 fWindow->onMouse(pos.x * backingScaleFactor, (rect.size.height - pos.y) * backingScaleFactor,
434 NSView* view = fWindow->window().contentView;
441 fWindow->onMouse(pos.x * backingScaleFactor, (rect.size.height - pos.y) * backingScaleFactor,
449 fWindow->onMouseWheel([event scrollingDeltaY], modifiers);
453 fWindow->onPaint();