public GameWindowMouseInputSource(MouseDevice device, CursorPosSetter cursorPosSetterX, CursorPosSetter cursorPosSetterY) { this.device = device; this.cursorPosSetterX = cursorPosSetterX; this.cursorPosSetterY = cursorPosSetterY; this.device.Enter += this.device_Enter; this.device.Leave += this.device_Leave; }
public GameWindowMouseInputSource(GameWindow window, CursorPosSetter cursorPosSetterX, CursorPosSetter cursorPosSetterY) { this.window = window; this.cursorPosSetterX = cursorPosSetterX; this.cursorPosSetterY = cursorPosSetterY; this.window.Mouse.Enter += this.device_Enter; this.window.Mouse.Leave += this.device_Leave; }
public OpenTKMouseInputSource(MouseDevice device, CursorPosSetter cursorPosSetterX, CursorPosSetter cursorPosSetterY) { this.device = device; this.cursorPosSetterX = cursorPosSetterX; this.cursorPosSetterY = cursorPosSetterY; this.device.Enter += this.device_Enter; this.device.Leave += this.device_Leave; }
public WindowMouseInput(MouseDevice device, CursorPosSetter cursorPosSetterX, CursorPosSetter cursorPosSetterY) { this.device = device; this.cursorPosSetterX = cursorPosSetterX; this.cursorPosSetterY = cursorPosSetterY; }