#pragma once class CDlgCommon; // CDlgReflowMasterImage 대화 상자입니다. class CDlgReflowMasterImage : public CDialogEx { DECLARE_DYNAMIC(CDlgReflowMasterImage) public: CDlgReflowMasterImage(CWnd* pParent = NULL); // 표준 생성자입니다. virtual ~CDlgReflowMasterImage(); // 대화 상자 데이터입니다. enum { IDD = IDD_DIALOG_REVIEW_RCP_REFLOW_MASTER_IMAGE }; void SetDlgCommon(CDlgCommon* dlg){m_DlgCommon = dlg;}; void SetDir(int dir){m_nDir = dir;}; int LoadImage(CString sFileName); int ImageGetWidth(); int ImageGetHeight(); int ImageGetBPP(); virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); protected: int m_nDir; virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다. CDlgCommon* m_DlgCommon; int m_nViewWidth; int m_nViewHeight; CRect m_RectDialog; int m_nHScrollPos; int m_nVScrollPos; int m_nVPageSize; int m_nHPageSize; CPoint m_damPoint[4]; int m_damCount; CImage m_Image; BYTE *m_ImageBuffer; CRect m_ROIRect; bool m_bImagecheck; int m_nBoe_line[6]; CString m_ImagePath; DECLARE_MESSAGE_MAP() };