From 28973fbd9bda0787d04ee19c5da20e4689381299 Mon Sep 17 00:00:00 2001 From: darker <mr.darker@163.com> Date: 星期六, 15 二月 2025 15:24:12 +0800 Subject: [PATCH] 1. CServoGraph类添加修改box颜色 2. CServoDlg添加设备状态,并修改box颜色 --- SourceCode/Bond/Servo/ServoGraph.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoGraph.h b/SourceCode/Bond/Servo/ServoGraph.h index 0a58675..d409660 100644 --- a/SourceCode/Bond/Servo/ServoGraph.h +++ b/SourceCode/Bond/Servo/ServoGraph.h @@ -170,6 +170,8 @@ void UpdateImageCoordinates(int id, int newX, int newY); void UpdateIndicateBoxCoordinates(int id, int newX, int newY); void UpdateImageAngle(int id, float angle); + void UpdateIndicateBox1Colors(int id, COLORREF newBackgroundColor, COLORREF newFrameColor1, COLORREF newFrameColor2); + void UpdateIndicateBox2Colors(int id, COLORREF newBackgroundColor, COLORREF newFrameColor); private: void DrawImage(HDC hMemDC, IMAGE& item); -- Gitblit v1.9.3