mrDarker
2025-07-16 1dbe46cd9d0f181d08d5a69f72d8548628a13b9d
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
52
53
54
55
56
57
58
59
60
61
62
63
64
#if !defined(AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_)
#define AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HMImageStatic.h : header file
//
 
#include "DefectStorage.h"
 
/////////////////////////////////////////////////////////////////////////////
// CMImageStatic window
 
class CMImageStatic : public CStatic
{
// Construction
public:
    CMImageStatic();
 
// Attributes
public:
    UCHAR    m_ImageBuf[DEFECTIMAGE_WIDTH * DEFECTIMAGE_HEIGHT + 1];    // 搬窃 捞固瘤甫 焊咯林绰 滚欺.
    BYTE m_BitmapInfo[sizeof(BITMAPINFOHEADER)+256*sizeof(RGBQUAD)];
    BOOL    m_bSetImage;    
    void    ResetImageStatic();
    void    ShowGrid(int iShow);    
    void    ShowDefectRect(int iShow);
    void    ShowRect(CRect rect);
 
// Operations
public:
 
// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CMImageStatic)
    //}}AFX_VIRTUAL
 
// Implementation
public:
    virtual ~CMImageStatic();
 
    // Generated message map functions
protected:
    int        m_iShowGrid;
    int        m_iShowDefectRect;
    CRect    m_rectDefect;
    //{{AFX_MSG(CMImageStatic)
    void DrawDotCenterLine(HDC hDC);
    void DrawRectangle(HDC hDC, HPEN hPen, CRect rect);
 
    afx_msg void OnPaint();
    afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
    //}}AFX_MSG
 
    DECLARE_MESSAGE_MAP()
};
 
/////////////////////////////////////////////////////////////////////////////
 
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
#endif // !defined(AFX_HMIMAGESTATIC_H__D74697CD_885E_4E7C_A9EA_2A57C3F51B4A__INCLUDED_)