Unit1.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //---------------------------------------------------------------------------
  2. #include <tchar.h>
  3. ///#include "vfw_BCB.h"
  4. #include <System.Classes.hpp>
  5. #include <Vcl.ComCtrls.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include "GLS.AVIRecorder.hpp"
  9. #include "GLS.BaseClasses.hpp"
  10. #include "GLS.Cadencer.hpp"
  11. #include "GLS.Coordinates.hpp"
  12. #include "GLS.Objects.hpp"
  13. #include "GLS.Scene.hpp"
  14. #include "GLS.SceneViewer.hpp"
  15. #include "GLS.Keyboard.hpp"
  16. #ifndef Unit1H
  17. #define Unit1H
  18. //---------------------------------------------------------------------------
  19. // must manually add this #define to correct the Ambiguous error of AVIRecorder1PostProcessEvent
  20. #define TBitmap Graphics::TBitmap
  21. class TForm1:public TForm
  22. {
  23. __published: // IDE-managed Components
  24. TGLScene * GLScene1;
  25. TGLSceneViewer *GLSceneViewer1;
  26. TTrackBar *TrackBar;
  27. TGLCube *Cube1;
  28. TGLCube *Cube3;
  29. TGLCube *Cube2;
  30. TGLCamera *GLCamera1;
  31. TGLLightSource *GLLightSource1;
  32. TStaticText *StaticText1;
  33. TGLDummyCube *DummyCube1;
  34. TGLDummyCube *DummyCube2;
  35. TGLCadencer *GLCadencer1;
  36. TButton *Button1;
  37. TGLAVIRecorder *AVIRecorder1;
  38. void __fastcall TrackBarChange(TObject * Sender);
  39. void __fastcall FormResize(TObject * Sender);
  40. void __fastcall Button1Click(TObject * Sender);
  41. void __fastcall AVIRecorder1PostProcessEvent(TObject * Sender,
  42. TBitmap * frame);
  43. void __fastcall FormKeyPress(TObject *Sender, char &Key);
  44. private: // User declarations
  45. public: // User declarations
  46. __fastcall TForm1(TComponent * Owner);
  47. };
  48. //---------------------------------------------------------------------------
  49. extern PACKAGE TForm1 *Form1;
  50. //---------------------------------------------------------------------------
  51. #endif