//--------------------------------------------------------------------------- #include ///#include "vfw_BCB.h" #include #include #include #include #include "GLS.AVIRecorder.hpp" #include "GLS.BaseClasses.hpp" #include "GLS.Cadencer.hpp" #include "GLS.Coordinates.hpp" #include "GLS.Objects.hpp" #include "GLS.Scene.hpp" #include "GLS.SceneViewer.hpp" #include "GLS.Keyboard.hpp" #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- // must manually add this #define to correct the Ambiguous error of AVIRecorder1PostProcessEvent #define TBitmap Graphics::TBitmap class TForm1:public TForm { __published: // IDE-managed Components TGLScene * GLScene1; TGLSceneViewer *GLSceneViewer1; TTrackBar *TrackBar; TGLCube *Cube1; TGLCube *Cube3; TGLCube *Cube2; TGLCamera *GLCamera1; TGLLightSource *GLLightSource1; TStaticText *StaticText1; TGLDummyCube *DummyCube1; TGLDummyCube *DummyCube2; TGLCadencer *GLCadencer1; TButton *Button1; TGLAVIRecorder *AVIRecorder1; void __fastcall TrackBarChange(TObject * Sender); void __fastcall FormResize(TObject * Sender); void __fastcall Button1Click(TObject * Sender); void __fastcall AVIRecorder1PostProcessEvent(TObject * Sender, TBitmap * frame); void __fastcall FormKeyPress(TObject *Sender, char &Key); private: // User declarations public: // User declarations __fastcall TForm1(TComponent * Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif