< prev index next >
src/java.desktop/windows/native/libawt/windows/awt_Robot.h
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 32,42 ****
#include "jlong.h"
class AwtRobot : public AwtObject
{
public:
! AwtRobot( jobject peer );
virtual ~AwtRobot();
void MouseMove( jint x, jint y);
void MousePress( jint buttonMask );
void MouseRelease( jint buttonMask );
--- 32,42 ----
#include "jlong.h"
class AwtRobot : public AwtObject
{
public:
! AwtRobot( jobject peer, int screen );
virtual ~AwtRobot();
void MouseMove( jint x, jint y);
void MousePress( jint buttonMask );
void MouseRelease( jint buttonMask );
*** 49,58 ****
--- 49,60 ----
void KeyPress( jint key );
void KeyRelease( jint key );
static AwtRobot * GetRobot( jobject self );
private:
+ int m_deviceIndex;
+
void DoKeyEvent( jint jkey, DWORD dwFlags );
static jint WinToJavaPixel(USHORT r, USHORT g, USHORT b);
};
#endif // AWT_ROBOT_H
< prev index next >