Lines Matching refs:evt
95 XEvent evt; in loop() local
97 XNextEvent(dsp, &evt); in loop()
98 switch (evt.type) { in loop()
100 if (evt.xexpose.count == 0) in loop()
104 this->resize(evt.xconfigure.width, evt.xconfigure.height); in loop()
107 if (evt.xbutton.button == Button1) in loop()
108 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kDown_State); in loop()
111 if (evt.xbutton.button == Button1) in loop()
112 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kUp_State); in loop()
115 this->handleClick(evt.xmotion.x, evt.xmotion.y, SkView::Click::kMoved_State); in loop()
119 KeySym keysym = XKeycodeToKeysym(dsp, evt.xkey.keycode, 0); in loop()
134 this->handleKeyUp(XKeyToSkKey(XKeycodeToKeysym(dsp, evt.xkey.keycode, 0))); in loop()
158 XEvent evt; in mapWindowAndWait() local
160 XNextEvent(dsp, &evt); in mapWindowAndWait()
161 } while(evt.type != MapNotify); in mapWindowAndWait()
219 SkEvent* evt = new SkEvent("inval-imageview"); in onHandleInval() local
220 evt->post(getSinkID()); in onHandleInval()
223 bool SkOSWindow::onEvent(const SkEvent& evt) in onEvent() argument
225 if (evt.isType("inval-imageview")) { in onEvent()
231 return INHERITED::onEvent(evt); in onEvent()