From 656228d05e6fa5200ae41621d2250de210d95600 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期二, 03 二月 2026 15:34:43 +0800 Subject: [PATCH] 1.Slot小方块大小用两种配置,LoadPort和其它的分开 --- SourceCode/Bond/Servo/ServoGraph.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoGraph.h b/SourceCode/Bond/Servo/ServoGraph.h index 4fcc730..296aae7 100644 --- a/SourceCode/Bond/Servo/ServoGraph.h +++ b/SourceCode/Bond/Servo/ServoGraph.h @@ -189,6 +189,7 @@ void SetIndicateBoxSlotBarPosition(int id, SlotBarPos pos); void SetIndicateBoxSlotColors(int id, const std::vector<COLORREF>& colors); void SetSlotBarSize(int size); + void SetSlotBarSizeByCount(int size8, int sizeOther); private: void DrawImage(HDC hMemDC, IMAGE& item); @@ -205,6 +206,8 @@ void* m_pHighItem; HWND m_hWndTooltip; int m_slotBarSize; + int m_slotBarSize8; + int m_slotBarSizeOther; }; #endif // !defined(AFX_EQUIPMENTGRAPH_H__FBB8916A_DE77_4EA3_9C21_E51E6B06194C__INCLUDED_) -- Gitblit v1.9.3