PicBar.h 951 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // PicBar.h: interface for the PicBar class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_)
  5. #define AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "MyDlg.h"
  10. class PicBar : public MyDlg
  11. {
  12. CButton m_button1;
  13. CButton m_button2;
  14. CButton m_button3;
  15. CButton m_button4;
  16. Image *m_pImageRun;
  17. Image *m_pImageStop;
  18. float g_fscalexbak;
  19. float g_fscaleybak;
  20. public:
  21. int m_nType;
  22. void ChangeBtn();
  23. BOOL m_bInit;
  24. void DrawTimes();
  25. int m_time;
  26. void EffectChange();
  27. CDialog *m_pParent;
  28. PicBar();
  29. virtual ~PicBar();
  30. void BtnClick(WPARAM wParam, LPARAM lParam);
  31. void Init();
  32. void Destory();
  33. BOOL PreTransMsg(MSG* pMsg);
  34. void OnFSCommand(LPCTSTR command, LPCTSTR args);
  35. };
  36. #endif // !defined(AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_)