From 46996b55fed671525f1aaf01a29c8aa73662be9e Mon Sep 17 00:00:00 2001 From: darker <mr.darker@163.com> Date: 星期六, 15 二月 2025 17:13:17 +0800 Subject: [PATCH] 1. 修复位读写,位读写的起始地址需要是8的倍数 --- 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