summaryrefslogtreecommitdiffstats
path: root/src/jake2/sys/Jake2InputEvent.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-08 10:44:05 +0200
committerSven Gothel <[email protected]>2012-10-08 10:44:05 +0200
commitf5612e7dfc635359f15b402c2ee9022a5e703a9d (patch)
tree0b54287f72b87a2693f38ed308195e928311a093 /src/jake2/sys/Jake2InputEvent.java
parent3119458b32c8620f971ba44488389ddf03b2d705 (diff)
Simple NEWT port: Remove AWT dependencies in Jake2 / JOGL / Fast (default mode) - Prepare for ES2NEWT
- Removed AWT init dialog, replaced w/ UI less auto install if n/a @ default location: $HOME/Jake2/baseq2 - JOGL GL2 Renderer 'joglgl2' - JOGL ES2 Renderer 'jogles2' (TBD) - Replaced JOGLKBD (AWT) w/ NEWTKBD - JOGL* Renderer using NEWT
Diffstat (limited to 'src/jake2/sys/Jake2InputEvent.java')
-rw-r--r--src/jake2/sys/Jake2InputEvent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/sys/Jake2InputEvent.java b/src/jake2/sys/Jake2InputEvent.java
index 32becf9..cce63bc 100644
--- a/src/jake2/sys/Jake2InputEvent.java
+++ b/src/jake2/sys/Jake2InputEvent.java
@@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
package jake2.sys;
-import java.awt.AWTEvent;
+import com.jogamp.newt.event.NEWTEvent;
/**
* Jake2InputEvent
@@ -40,9 +40,9 @@ class Jake2InputEvent {
static final int ConfigureNotify = 6;
static final int WheelMoved = 7;
int type;
- AWTEvent ev;
+ NEWTEvent ev;
- Jake2InputEvent(int type, AWTEvent ev) {
+ Jake2InputEvent(int type, NEWTEvent ev) {
this.type = type;
this.ev = ev;
}