/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */
package com.sun.glass.ui.win;

import com.sun.glass.ui.Application;
import com.sun.glass.ui.Robot;

/**
 * MS Windows platform implementation class for Robot.
 *
 * @author Anthony Petrov
 */
final class WinRobot extends Robot {
    protected WinRobot() {
        super();
    }

    static {
        Application.loadNativeLibrary();
    }

    @Override native protected long _create();
    @Override native protected void _destroy(long ptr);
    @Override native protected void _keyPress(long ptr, int code);
    @Override native protected void _keyRelease(long ptr, int code);
    @Override native protected void _mouseMove(long ptr, int x, int y);
    @Override native protected void _mousePress(long ptr, int buttons);
    @Override native protected void _mouseRelease(long ptr, int buttons);
    @Override native protected void _mouseWheel(long ptr, int wheelAmt);
    @Override native protected int _getMouseX(long ptr);
    @Override native protected int _getMouseY(long ptr);
    @Override native protected int _getPixelColor(long ptr, int x, int y);
    @Override native protected void _getScreenCapture(long ptr, int x, int y, int width, int height, int[] data);

}

