123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #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
- class CutPhoto : public CDialog
- {
- CString m_name;
- CString m_size;
- float m_fscale;
- CRect m_photorcbak;
- CRect m_rcRealCuttingArea;
- CRect m_rcShowCutImage;
- #if JEFF_TEST_ON
- CRect m_rcStatc1;
- CRect m_rcStatc2;
- CRect m_rtSmall;
- CPoint m_ptStart;
- CPoint m_ptEndof;
- float m_fZoomScale;
- #endif
- CStringArray namearray;
- CArray<int, int>widtharray;
- CArray<int, int>heightarray;
-
- public:
- int m_photowidth;
- int m_photoheight;
- CString m_strOrderNumber;
- CString m_strImgName;
- void RefreshRc();
- int m_width;
- int m_height;
- void GetSize();
- CutPhoto(CWnd* pParent = NULL);
- Image *m_pImg;
- enum { IDD = IDD_DLGCutPhoto };
- CSliderCtrl m_sliderctrl;
- CComboBox m_combo1;
- int m_slider1;
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- 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);
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- };
- #endif
|