Leaked source code of windows server 2003
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.

37 lines
719 B

  1. // CSweeper.h: interface for the CSweeper class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #ifndef __CSWEEPER_H
  5. #define __CSWEEPER_H
  6. #include "CObject.h"
  7. class CSweeper : public CObject
  8. {
  9. public:
  10. CSweeper();
  11. virtual ~CSweeper();
  12. void Destroy();
  13. BOOL Init(HWND hWnd);
  14. BOOL Move(Graphics *g);
  15. void Sweep(Graphics *g);
  16. void NoSweep(Graphics *g);
  17. Bitmap *m_paBroomOn;
  18. Bitmap *m_paBroomOff;
  19. Bitmap *m_paBackground;
  20. Bitmap *m_paOriginalBkg;
  21. int m_nSnapshotSize;
  22. float m_flBroomWidth;
  23. float m_flSweepLength;
  24. float m_flStepRadius;
  25. PointF m_vLastPos;
  26. float m_flLastAngle;
  27. float m_flDist;
  28. BOOL m_bSweeping;
  29. RECT m_rDesktop;
  30. };
  31. #endif