PicBar.h 986 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. BOOL m_bShowCut;
  22. void PreLoad();
  23. int m_nType;
  24. void ChangeBtn();
  25. BOOL m_bInit;
  26. void DrawTimes();
  27. int m_time;
  28. void EffectChange();
  29. CDialog *m_pParent;
  30. PicBar();
  31. virtual ~PicBar();
  32. void BtnClick(WPARAM wParam, LPARAM lParam);
  33. void Init();
  34. void Destory();
  35. BOOL PreTransMsg(MSG* pMsg);
  36. void OnFSCommand(LPCTSTR command, LPCTSTR args);
  37. };
  38. #endif // !defined(AFX_PicBar_H__9E2611E5_0E62_4671_A849_BE55510672CB__INCLUDED_)