Lines Matching refs:npEvent
160 NPEvent npEvent;
161 npEvent.event = WM_WINDOWPOSCHANGED;
162 npEvent.wParam = 0;
163 npEvent.lParam = reinterpret_cast<uintptr_t>(&windowpos);
165 NPP_HandleEvent(&npEvent);
171 npEvent.event = WM_PAINT;
172 npEvent.wParam = reinterpret_cast<uintptr_t>(windowsContext.hdc());
173 npEvent.lParam = reinterpret_cast<uintptr_t>(&dirtyWinRect);
175 NPP_HandleEvent(&npEvent);
180 NPEvent npEvent;
182 npEvent.wParam = 0;
184 npEvent.wParam |= MK_CONTROL;
186 npEvent.wParam |= MK_SHIFT;
188 npEvent.lParam = MAKELPARAM(event.position().x(), event.position().y());
192 npEvent.event = WM_MOUSEMOVE;
195 npEvent.wParam |= MK_LBUTTON;
198 npEvent.wParam |= MK_MBUTTON;
201 npEvent.wParam |= MK_RBUTTON;
210 npEvent.event = WM_LBUTTONDOWN;
213 npEvent.event = WM_MBUTTONDOWN;
216 npEvent.event = WM_RBUTTONDOWN;
226 npEvent.event = WM_LBUTTONUP;
229 npEvent.event = WM_MBUTTONUP;
232 npEvent.event = WM_RBUTTONUP;
244 return npEvent;
252 NPEvent npEvent = toNP(event);
253 NPP_HandleEvent(&npEvent);
273 NPEvent npEvent = toNP(event);
274 NPP_HandleEvent(&npEvent);
283 NPEvent npEvent = toNP(event);
284 NPP_HandleEvent(&npEvent);