37 lines
957 B
C#
37 lines
957 B
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using Aurora.Api;
|
|
using Matrox.MatroxImagingLibrary;
|
|
using System;
|
|
using VisionCommon;
|
|
|
|
namespace MilUI {
|
|
internal class ForceOkMode : DisplayMode {
|
|
private Logger _logger = new Logger(typeof(ForceOkMode).Name);
|
|
public Action<ImagePoint, Angle> SetForceOkPoint;
|
|
|
|
public ForceOkMode() {
|
|
}
|
|
|
|
public override void MouseLeftDown(MIL_ID EventID) {
|
|
}
|
|
|
|
public override void MouseMove(MIL_ID EventID) {
|
|
}
|
|
|
|
public override void MouseRightDown(MIL_ID EventID) {
|
|
var mousePoint = GetMousePoint(EventID);
|
|
_logger.I($"Mouse right clicked : {mousePoint}");
|
|
SetForceOkPoint?.Invoke(mousePoint, null);
|
|
}
|
|
|
|
public override void GraphicSelectionModified(MIL_ID EventID) {
|
|
}
|
|
|
|
public override void Clear() {
|
|
}
|
|
}
|
|
}
|