From 22c4fd7bb3ef1d7c6bfc67baf79aed53d22d8636 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期五, 14 十一月 2025 18:00:06 +0800
Subject: [PATCH] 1.竖排slot格子指示;

---
 SourceCode/Bond/Servo/EqsGraphWnd.h |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/SourceCode/Bond/Servo/EqsGraphWnd.h b/SourceCode/Bond/Servo/EqsGraphWnd.h
index 6bf7ae6..aaf9804 100644
--- a/SourceCode/Bond/Servo/EqsGraphWnd.h
+++ b/SourceCode/Bond/Servo/EqsGraphWnd.h
@@ -1,4 +1,4 @@
-#pragma once
+锘�#pragma once
 #include <functional>
 
 
@@ -64,7 +64,7 @@
 	DWORD_PTR pInPins;
 	DWORD_PTR pOutPins;
 	int nFlashFlag;
-	BYTE nIndicatorState[EQITEM_INDICATOR_COUNT]; // 0=隐藏, 1=高亮, 2=灰色
+	BYTE nIndicatorState[EQITEM_INDICATOR_COUNT]; // 0=闅愯棌, 1=楂樹寒, 2=鐏拌壊
 } EQITEM;
 
 typedef struct tagPIN
@@ -155,6 +155,8 @@
 	void FlashItem(EQITEM* pItem);
 	void AnimationItem(EQITEM*pItem);
 	void ShowItemIndicator(DWORD_PTR dwItemData, int state, int nIndex = 0);
+	void SetIndicatorSize(int nSize);
+	void SetIndicatorMargin(int nMargin);
 
 private:
 	void Init();
@@ -202,7 +204,7 @@
 	EQITEM*		m_pFlashItem;
 	EQITEM*		m_pAnimationItem;
 	PIN *		m_pCurPin;
-	PIN *		m_pSelLineOutPin;		// 选中的连线的两个pin中的out pin
+	PIN *		m_pSelLineOutPin;		// 閫変腑鐨勮繛绾跨殑涓や釜pin涓殑out pin
 
 private:
 	HWND		m_hWnd;
@@ -211,12 +213,12 @@
 	HFONT		m_hFontTitle;
 
 private:
-	BOOL m_bUseGdiPlus;					// 使用GDI+绘图?
-	COLORREF m_crItemBackground[2];		// item的颜色,normal, active
-	COLORREF m_crItemFrame[2];			// item的边框,normal, active
+	BOOL m_bUseGdiPlus;					// 浣跨敤GDI+缁樺浘锛�
+	COLORREF m_crItemBackground[2];		// item鐨勯鑹诧紝normal锛� active
+	COLORREF m_crItemFrame[2];			// item鐨勮竟妗嗭紝normal锛� active
 	COLORREF m_crItemNameText[2];
 	COLORREF m_crItemIdText[2];
-	COLORREF m_crPinBkgnd[3];			// pin的颜色,normal, active, enable connect
+	COLORREF m_crPinBkgnd[3];			// pin鐨勯鑹诧紝normal, active, enable connect
 	int m_nCurSel;
 	EqsGraphListener m_listener;
 	CPtrArray m_arItem;
@@ -224,18 +226,20 @@
 	int m_nItemRound;
 
 private:
-	int m_nStageCx;			// 画布大小
+	int m_nStageCx;			// 鐢诲竷澶у皬
 	int m_nStageCy;
 	int m_nOffsetX;
 	int m_nOffsetY;
+	int m_nIndicatorSize;
+	int m_nIndicatorMargin;
 
-	// 动画
+	// 鍔ㄧ敾
 	RECTF m_rcAnimation;
 	RECTF m_rcAninationStep;
 	int m_nAninationStep;
 	int m_nAninationDuration;		// ms
 
-	// 字体
+	// 瀛椾綋
 	HFONT m_hFontName;
 	HFONT m_hFontId;
 

--
Gitblit v1.9.3