Unit1.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //---------------------------------------------------------------------------
  2. #include "vfw_BCB.h"
  3. #include "GLAVIRecorder.hpp"
  4. #include "GLBaseClasses.hpp"
  5. #include "GLCadencer.hpp"
  6. #include "GLCoordinates.hpp"
  7. #include "GLCrossPlatform.hpp"
  8. #include "GLObjects.hpp"
  9. #include "GLScene.hpp"
  10. #include "GLWin32Viewer.hpp"
  11. #include "GLKeyboard.hpp"
  12. #include <System.Classes.hpp>
  13. #include <Vcl.ComCtrls.hpp>
  14. #include <Vcl.Controls.hpp>
  15. #include <Vcl.StdCtrls.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