12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #if !defined(AFX_CUTPHOTO_H__1B013126_5FE2_482B_9BF5_0D842AE7C02D__INCLUDED_)
- #define AFX_CUTPHOTO_H__1B013126_5FE2_482B_9BF5_0D842AE7C02D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CutPhoto.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CutPhoto dialog
- class CutPhoto : public CDialog
- {
- CString m_name;
- CString m_size;
- float m_fscale;
- CRect m_photorcbak;
- CRect m_photorc;
- CRect m_paintrc;
- CStringArray namearray;
- CArray<int,int>widtharray;
- CArray<int,int>heightarray;
- // Construction
- public:
- int m_photowidth;
- int m_photoheight;
- CString m_id;
- CString m_path;
- void RefreshRc();
- int m_width;
- int m_height;
- void GetSize();
- CutPhoto(CWnd* pParent = NULL); // standard constructor
- Image *m_pImg;
- // Dialog Data
- //{{AFX_DATA(CutPhoto)
- enum { IDD = IDD_DLGCutPhoto };
- CSliderCtrl m_sliderctrl;
- CComboBox m_combo1;
- int m_slider1;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CutPhoto)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CutPhoto)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg void OnButton7();
- afx_msg void OnSelchangeCombo1();
- afx_msg void OnButton1();
- afx_msg void OnButton2();
- afx_msg void OnButton3();
- afx_msg void OnButton4();
- afx_msg void OnButton5();
- afx_msg void OnButton6();
- afx_msg void OnButton10();
- afx_msg void OnButton32();
- afx_msg void OnCustomdrawSlider1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnOutofmemorySlider1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CUTPHOTO_H__1B013126_5FE2_482B_9BF5_0D842AE7C02D__INCLUDED_)
|