Lines Matching refs:window
249 if (SkOSWindow* window = GetInstanceForWindowID(event.motion.windowID)) { in HandleEvent() local
251 window->handleClick(event.motion.x, event.motion.y, in HandleEvent()
258 if (SkOSWindow* window = GetInstanceForWindowID(event.button.windowID)) { in HandleEvent() local
259 window->handleClick(event.button.x, event.button.y, in HandleEvent()
266 if (SkOSWindow* window = GetInstanceForWindowID(event.key.windowID)) { in HandleEvent() local
271 window->handleKey(sk); in HandleEvent()
273 window->handleKeyUp(sk); in HandleEvent()
276 window->closeWindow(); in HandleEvent()
281 if (SkOSWindow* window = GetInstanceForWindowID(event.text.windowID)) { in HandleEvent() local
284 window->handleChar((SkUnichar)event.text.text[i]); in HandleEvent()
289 switch (event.window.event) { in HandleEvent()
294 if (SkOSWindow* window = GetInstanceForWindowID(event.window.windowID)) { in HandleEvent() local
297 SDL_GetWindowSize(window->fWindow, &w, &h); in HandleEvent()
298 window->resize(w, h); in HandleEvent()
387 SkOSWindow* window = create_sk_window(nullptr, argc, argv); local
394 delete window;