cepane.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //---------------------------------------------------------------------------
  2. //
  3. // cepane.h - This file contains the class declarations for the VFX Pane Element
  4. //
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. #ifndef CEPANE_H
  9. #define CEPANE_H
  10. //---------------------------------------------------------------------------
  11. // Include files
  12. #ifndef CELEMENT_H
  13. #include "celement.h"
  14. #endif
  15. #ifndef VFX_H
  16. #include "vfx.h"
  17. #endif
  18. //---------------------------------------------------------------------------
  19. class PaneElement : public Element
  20. {
  21. public:
  22. PANE * shapePane;
  23. long x;
  24. long y;
  25. long midx,midy,SizeX,SizeY;
  26. PaneElement (void)
  27. {
  28. shapePane = NULL;
  29. x = y = 0;
  30. }
  31. PaneElement (PANE *_shapePane, long _x, long _y, long _midx, long _midy, long _SizeX, long _SizeY);
  32. virtual void draw (void);
  33. };
  34. //---------------------------------------------------------------------------
  35. class DeltaElement : public Element
  36. {
  37. public:
  38. MemoryPtr shapeTable;
  39. long frameNum;
  40. long x,y;
  41. bool reverse;
  42. MemoryPtr fadeTable;
  43. bool noScaleDraw;
  44. bool scaleUp;
  45. DeltaElement (void)
  46. {
  47. shapeTable = NULL;
  48. frameNum = 0;
  49. x = y = 0;
  50. reverse = FALSE;
  51. fadeTable = NULL;
  52. noScaleDraw = FALSE;
  53. scaleUp = FALSE;
  54. }
  55. DeltaElement (MemoryPtr _shape, long _x, long _y, long frame, bool rev, MemoryPtr fTable = NULL, bool noScale = FALSE, bool scaleUp = FALSE);
  56. virtual void draw (void);
  57. };
  58. //---------------------------------------------------------------------------
  59. #endif