From 08215fc9a36a1648e1a5040ffe5696b96483c3b9 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 01 11월 2021 14:39:43 +0900 Subject: [PATCH] Ongoing90 #3684 CF AOI Review 전설비 Review History Defect이미지 클릭시 Offset 자동 계산 기능 추가 --- ReviewHistory/ReveiwHistory/PathSettingDlg.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/ReveiwHistory/PathSettingDlg.h b/ReviewHistory/ReveiwHistory/PathSettingDlg.h new file mode 100644 index 0000000..01aec2e --- /dev/null +++ b/ReviewHistory/ReveiwHistory/PathSettingDlg.h @@ -0,0 +1,50 @@ +癤�#pragma once +#include "Singleton.h" + +// CPathSettingDlg ���솕 �긽�옄 + +class CPathSettingDlg : public CDialogEx, public CSingleton< CPathSettingDlg > +{ + DECLARE_DYNAMIC(CPathSettingDlg) + +public: + CPathSettingDlg(CWnd* pParent = nullptr); // �몴以� �깮�꽦�옄�엯�땲�떎. + virtual ~CPathSettingDlg(); + +// ���솕 �긽�옄 �뜲�씠�꽣�엯�땲�떎. + + enum { IDD = IDD_DLG_PATH_SETTING }; + +protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 吏��썝�엯�땲�떎. + + CString m_strBinPath; + CString m_strInspectorPath; + CString m_strReviewPath; + CString m_strAlignPath; + + DECLARE_MESSAGE_MAP() + +public: + virtual BOOL Create(CWnd* pParentWnd = NULL); + virtual BOOL PreTranslateMessage(MSG* pMsg); + + afx_msg void OnDestroy(); + afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); +public: + afx_msg void OnBnClickedBtnBinPath(); + afx_msg void OnBnClickedBtnInspectorPath(); + afx_msg void OnBnClickedBtnReviewPath(); + afx_msg void OnBnClickedBtnAlignPath(); + afx_msg void OnBnClickedBtnSave(); + afx_msg void OnBnClickedCancel(); + + void PathSettingLoad(); + CString GetBinPath() { return m_strBinPath; } + CString GetInspectorPath() { return m_strInspectorPath; } + CString GetReviewPath() { return m_strReviewPath; } + CString GetAlignPath() { return m_strAlignPath; } + CComboBox m_comboDirectionX; + CComboBox m_comboDirectionY; + virtual BOOL OnInitDialog(); +}; -- Gitblit v1.9.3