PlaqueDemo.h 678 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // PlaqueDemo.h : header file for the PlaqueDemo application
  2. //
  3. #pragma once
  4. #ifndef __AFXWIN_H__
  5. #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7. #include "resource.h"
  8. enum EnumEtape
  9. {
  10. etapeRien,
  11. etapeSegments,
  12. etapeTacheSeuil,
  13. etapeReglage
  14. };
  15. enum enumType
  16. {
  17. typeUndefined,
  18. typeBW,
  19. typeRGB,
  20. typeManual
  21. };
  22. class CPlaqueDemoApp : public CWinApp
  23. {
  24. public:
  25. CPlaqueDemoApp();
  26. virtual ~CPlaqueDemoApp();
  27. CPen m_penDraw,
  28. m_penVert, m_penBleu, m_penRouge;
  29. public:
  30. virtual BOOL InitInstance();
  31. DECLARE_MESSAGE_MAP()
  32. CMutex m_Mutex;
  33. BOOL m_block;
  34. };
  35. extern CPlaqueDemoApp theApp;