From 97e9c6896ffaedcc2c00fb4ea1bee6a5cdbc4a5d Mon Sep 17 00:00:00 2001 From: darker <mr.darker@163.com> Date: 星期五, 21 二月 2025 15:55:55 +0800 Subject: [PATCH] 1. 报警记录界面加载数据库的数据,并且实现过滤查找 --- 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