From a886343fc6eaecb4eccd35dc2a5b95fc84212dd5 Mon Sep 17 00:00:00 2001 From: darker <mr.darker@163.com> Date: 星期二, 18 二月 2025 16:21:36 +0800 Subject: [PATCH] 1. 添加ReportVIDs表的相关操作 --- SourceCode/Bond/Servo/ServoGraph.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoGraph.h b/SourceCode/Bond/Servo/ServoGraph.h index 445d676..d409660 100644 --- a/SourceCode/Bond/Servo/ServoGraph.h +++ b/SourceCode/Bond/Servo/ServoGraph.h @@ -75,6 +75,7 @@ HBITMAP hBitmap; int bmWidth; int bmHeight; + float angle; } IMAGE; @@ -168,6 +169,12 @@ HWND GetSafeWnd(); 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); private: HWND m_hWnd; -- Gitblit v1.9.3