aAnimObject.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #ifndef AANIMOBJECT_H
  2. #define AANIMOBJECT_H
  3. /*************************************************************************************************\
  4. aAnimObject.h : Interface for the aAnimObject component of the GUI library.
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. \*************************************************************************************************/
  9. #ifndef ASYSTEM_H
  10. #include "aSystem.h"
  11. #endif
  12. #ifndef AANIM_H
  13. #include "aAnim.h"
  14. #endif
  15. //*************************************************************************************************
  16. /**************************************************************************************************
  17. CLASS DESCRIPTION
  18. aAnimObject:
  19. **************************************************************************************************/
  20. class aAnimObject: public aObject
  21. {
  22. public:
  23. aAnimObject();
  24. virtual ~aAnimObject();
  25. aAnimObject& operator=( const aAnimObject& AnimObject );
  26. int init( FitIniFile* file, const char* blockName, DWORD neverFlush = 0);
  27. virtual void update();
  28. virtual void render();
  29. void begin() { animInfo.begin(); }
  30. void end();
  31. void reverseBegin() { animInfo.reverseBegin(); }
  32. bool isDone() { return animInfo.isDone(); }
  33. aAnimation animInfo;
  34. private:
  35. aAnimObject( const aAnimObject& src );
  36. };
  37. //*************************************************************************************************
  38. #endif // end of file ( aAnimObject.h )