From 1dbe46cd9d0f181d08d5a69f72d8548628a13b9d Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 16 七月 2025 17:13:50 +0800
Subject: [PATCH] 优化:显示在流程中解锁,并且把文件字符集统一替换成UTF-8(BOM)
---
EdgeInspector_App/View/FrameImg.cpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/EdgeInspector_App/View/FrameImg.cpp b/EdgeInspector_App/View/FrameImg.cpp
index 9d0ac4d..f836b31 100644
--- a/EdgeInspector_App/View/FrameImg.cpp
+++ b/EdgeInspector_App/View/FrameImg.cpp
@@ -1,4 +1,4 @@
-// FrameImg.cpp : 备泅 颇老涝聪促.
+锘�// FrameImg.cpp : 澶囨硡 棰囪�佹稘鑱績.
//
#include "stdafx.h"
@@ -415,7 +415,7 @@
WCHAR wStr[MAX_PATH];
- FontFamily fontFamily(L"奔覆眉");
+ FontFamily fontFamily(L"濂旇鐪�");
Font font(&fontFamily,11, FontStyleBold );
swprintf(wStr, L"%d[%d,%d]",m_Image.GetPixel(m_ptCur.x + m_nScrStartX,m_ptCur.y) & 0xff,m_ptCur.x + m_nScrStartX,m_ptCur.y);
@@ -908,8 +908,8 @@
void CFrameImg::OnPaint()
{
CPaintDC dc(this); // device context for painting
- // TODO: 咯扁俊 皋矫瘤 贸府扁 内靛甫 眠啊钦聪促.
- // 弊府扁 皋矫瘤俊 措秦辑绰 CStatic::OnPaint()阑(甫) 龋免窍瘤 付绞矫坷.
+ // TODO: 鍜墎淇� 鐨嬬煫鐦� 璐稿簻鎵� 鍐呴潧鐢� 鐪犲晩閽﹁仾淇�.
+ // 寮婂簻鎵� 鐨嬬煫鐦や繆 鎺Е杈戠话 CStatic::OnPaint()闃�(鐢�) 榫嬪厤绐嶇槫 浠樼粸鐭澐.
ViewUpdate();
}
@@ -1786,7 +1786,7 @@
dc.SetTextColor(RGB(0,0,255));
dc.TextOut(120,3,strTmp);
- // TFT CF Line阑 弊赴促.
+ // TFT CF Line闃� 寮婅荡淇�.
szROI.cx = CHKMIN(int(m_WndRect.Width() / m_dZoom), m_szImg.cx);
szROI.cy = int(m_WndRect.Height() / m_dZoom);
@@ -1843,13 +1843,13 @@
dc.MoveTo(x,y-7);
dc.LineTo(x,y+7);
- // Corner甫 弊赴促.
+ // Corner鐢� 寮婅荡淇�.
DrawCorner(dc,ptMark);
- //Defect阑 弊赴促.
+ //Defect闃� 寮婅荡淇�.
DrawDefect(dc);
- // 八荤 康开阑 弊赴促
+ // 鍏崵 搴峰紑闃� 寮婅荡淇�
//DrawInspectArea(dc);
DrawMeasureLine(dc,ptMark);
@@ -1902,7 +1902,7 @@
int nValue;
int nTx = (int)(x * m_dZoom) - 40;
- if(m_nSide < 4) // 惑何
+ if(m_nSide < 4) // 鎯戜綍
{
// CF LINE
dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x) * m_dZoom) , m_ptMouseCurrent.y);
@@ -1932,7 +1932,7 @@
//strTmp.Format("GRIND : %d um",nValue);
dc.TextOut( nTx ,m_ptMouseCurrent.y + 30,strTmp);
}
- else // 窍何
+ else // 绐嶄綍
{
// TFT LINE
dc.MoveTo((int)((pInsResult->nGrindframe[0][nFrameIndex]- m_ptOrg.x) * m_dZoom) , m_ptMouseCurrent.y);
@@ -2108,7 +2108,7 @@
GetResolution(dResH,dResV);
- // 付农甫 弊赴促.
+ // 浠樺啘鐢� 寮婅荡淇�.
dc.SelectObject(&pen2);
if(bMark[0])
--
Gitblit v1.9.3