SDC C-Project CF Review 프로그램
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#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()
};