From 4ed7fc8447d202e21ef9907e2aac63ef6fcbf301 Mon Sep 17 00:00:00 2001
From: zxd <zxdvslxy@gmail.com>
Date: 星期二, 17 十月 2023 12:33:23 +0800
Subject: [PATCH] 提交图码转换部分修改: 1.基本图形转换 2.ANS\ORS\PSHS\POPS命令的处理 3.重构了转换方法,命名为CMTerm1View::ScanLDSCells2();同时将翻译单独提出为方法CMTerm1View::Translate2Prog() 4.快捷键的添加绑定 5.其他相关方法修改,Insert,Delete,FocusChg…… 6.其他关联修改

---
 MTerm1/MyFormInputShow.h |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/MTerm1/MyFormInputShow.h b/MTerm1/MyFormInputShow.h
index e0315cd..596c372 100644
--- a/MTerm1/MyFormInputShow.h
+++ b/MTerm1/MyFormInputShow.h
@@ -89,7 +89,7 @@
 	bool bFloat1 = false;
 	bool bLeftLineUp = false;
 	bool brightLineUp = false;
-	int param = 0;
+	int param = -1;
 	CString sCellName;
 	CString sParamName;
 	CString num = _T("");
@@ -98,7 +98,7 @@
 
 	void clear() { OP = 0; bnot = 0; bpp = 0; bpn = 0; bcmpEq = 0; bcmpLt = 0;
 	bcmpGt = 0; bDouble = 0; bDouble1 = 0; bFloat = 0; bFloat1 = 0; bLeftLineUp = 0; brightLineUp = 0;
-	param = 0; sCellName.Empty(); num.Empty();
+	param = -1; sCellName = _T(""); sParamName = _T(""); num = _T("");
 	}
 };
 
@@ -248,6 +248,27 @@
 
 
 	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
+
+	afx_msg void OnHotkey0();
+	afx_msg void OnHotkey1();
+	afx_msg void OnHotkeyF1();
+	afx_msg void OnHotkeyF2();
+	afx_msg void OnHotkeyF3();
+	afx_msg void OnHotkeyF4();
+	afx_msg void OnHotkeyF5();
+	afx_msg void OnHotkeyF6();
+	afx_msg void OnHotkeyF7();
+	afx_msg void OnHotkeyF8();
+	afx_msg void OnHotkeyF9();
+	afx_msg void OnHotkeyF11();
+	afx_msg void OnHotkeyF12();
+
+
+
+	afx_msg void OnHotkeyX();
+	afx_msg void OnHotkeyY();
+	afx_msg void OnHotkeyDelete();
+	afx_msg void OnHotkeyInsert();
 };
 
 

--
Gitblit v1.9.1