📄 gatherdlg.h
字号:
// GatherDlg.h : header file
//
#if !defined(AFX_GATHERDLG_H__CF3BCF21_B91A_493F_B7D1_A9F97279903F__INCLUDED_)
#define AFX_GATHERDLG_H__CF3BCF21_B91A_493F_B7D1_A9F97279903F__INCLUDED_
#include "afxwin.h"
#include "Windows.h"
#include "WinDef.h"
#include "Wingdi.h"
#include <math.h>
#include "defineStruct.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CGatherDlg dialog
class CGatherDlg : public CDialog
{
// Construction
public:
void AotoFindCeter(int leishu);
void WetherMove(int jj,int mmm);
DIS CaculateDis(myRGB rgbGther[],int i,int j,int lei);
void SetmyRGBZero();
void ShowCenter(myRGB Center_rgb[],int i);
void PintCenterPoint(myRGB aa[],myRGB bb[],int leishu,int i);
void Gather(float yuzhi,int shangxian,int leishu,myRGB rgbGther[10]);
void Check(int lei);
void ChargeAndGive(int kk);
void GatherPintRGB(int leishu);
BOOL GetCrentPoint(BITMAP bmpoint,CPoint pointbm);
int Min(double *min,int leishu);
BOOL PintRGB(int juleimoshi);
void SetZero(int lei,int rrr);
void ShowRGB(int x,int y,int x1,int y1,int BiaoZhi);
BOOL StoreRGB(BITMAP bm1);
BOOL GetbmpSize(BITMAP bm);
myRGB FineCenter(int x, int y, int x11, int y11);
void SetPixelk(int x, int y, int x1, int y1);
CGatherDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGatherDlg)
enum { IDD = IDD_GATHER_DIALOG };
CListBox m_list1;
CComboBox m_Combolei;
CComboBox m_BaiWei;
CComboBox m_ShiWei;
CComboBox m_GeWei;
CComboBox m_Combo1;
CComboBox m_Combo;
CListBox m_list;
int m_x;
int m_y;
int m_r;
int m_g;
int m_b;
int m_wide;
int m_hieght;
int JuLeiCiShuXianShi;
CString m_strRG;
CString m_strRB;
CString m_strBG;
CString m_strRGB;
CString m_strCentR;
CString m_strR;
CString m_strG;
CString m_strB;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGatherDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGatherDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton5RUN();
afx_msg void OnButtonInition();
afx_msg void OnButton7();
afx_msg void OnButton8ChongZhi();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnButton9xianshizhongxin();
afx_msg void OnButton10ZiDong();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GATHERDLG_H__CF3BCF21_B91A_493F_B7D1_A9F97279903F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -