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.

38 lines
678 B

  1. // CPerson.h: interface for the CPerson class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #ifndef __CPERSON_H
  5. #define __CPERSON_H
  6. #include "CObject.h"
  7. enum ENUM_PERSONSTEP {
  8. eStepLeft=0,
  9. eStepRight
  10. };
  11. class CPerson : public CObject
  12. {
  13. public:
  14. CPerson();
  15. virtual ~CPerson();
  16. void Destroy();
  17. BOOL Init(HWND hWnd);
  18. BOOL Move(Graphics *g);
  19. void DrawStep(Graphics *g);
  20. Bitmap *m_paFoot;
  21. Bitmap *m_paBlended;
  22. Bitmap *m_paIndented;
  23. int m_nSnapshotSize;
  24. int m_nFootWidth;
  25. int m_nFootHeight;
  26. float m_flStepRadius;
  27. float m_flStepWidth;
  28. PointF m_vLastStep;
  29. ENUM_PERSONSTEP m_eLastStep;
  30. };
  31. #endif