Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  1. /**************************************************/
  2. /* */
  3. /* */
  4. /* Rotate bimap in Edit window */
  5. /* */
  6. /* */
  7. /* Copyright (c) 1997-1999 Microsoft Corporation. */
  8. /**************************************************/
  9. #define NOTSEL 0
  10. #define FLIP_HOR 1
  11. #define FLIP_VER 2
  12. #define ROTATE_9 3
  13. #define ROTATE_18 4
  14. #define ROTATE_27 5
  15. class CRotateDlg : public CDialog
  16. {
  17. public:
  18. CRotateDlg(CWnd* pParent = NULL); // standard constructor
  19. //{{AFX_DATA(CRotateDlg)
  20. enum { IDD = IDD_ROTATECHAR };
  21. // NOTE: the ClassWizard will add data members here
  22. //}}AFX_DATA
  23. //{{AFX_VIRTUAL(CRotateDlg)
  24. protected:
  25. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  26. //}}AFX_VIRTUAL
  27. public:
  28. int RadioItem;
  29. protected:
  30. //{{AFX_MSG(CRotateDlg)
  31. virtual void OnOK();
  32. virtual BOOL OnInitDialog();
  33. afx_msg void OnFliphor();
  34. afx_msg void OnFlipver();
  35. afx_msg void OnRotate180();
  36. afx_msg void OnRotate270();
  37. afx_msg void OnRotate90();
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };