equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
24 */ |
24 */ |
25 |
25 |
26 #ifndef __AWTEVENT_H |
26 #ifndef __AWTEVENT_H |
27 #define __AWTEVENT_H |
27 #define __AWTEVENT_H |
28 |
28 |
29 #import "LWCToolkit.h" |
|
30 |
|
31 jlong UTC(NSEvent *event); |
29 jlong UTC(NSEvent *event); |
32 void DeliverJavaKeyEvent(JNIEnv *env, NSEvent *event, jobject peer); |
30 void DeliverJavaKeyEvent(JNIEnv *env, NSEvent *event, jobject peer); |
33 void DeliverJavaMouseEvent(JNIEnv *env, NSEvent *event, jobject peer); |
31 void DeliverJavaMouseEvent(JNIEnv *env, NSEvent *event, jobject peer); |
34 void SendAdditionalJavaEvents(JNIEnv *env, NSEvent *nsEvent, jobject peer); |
32 void SendAdditionalJavaEvents(JNIEnv *env, NSEvent *nsEvent, jobject peer); |
35 jint GetJavaMouseModifiers(NSInteger button, NSUInteger modifierFlags); |
33 jint GetJavaMouseModifiers(NSInteger button, NSUInteger modifierFlags); |