12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "GLAsyncTimer.hpp"
- #include "GLCadencer.hpp"
- #include "GLObjects.hpp"
- #include "GLPhongShader.hpp"
- #include "GLScene.hpp"
- #include "GLTeapot.hpp"
- #include "GLTexture.hpp"
- #include "GLWin32Viewer.hpp"
- #include "GLBaseClasses.hpp"
- #include "GLAsmShader.hpp"
- #include "GLCoordinates.hpp"
- #include "GLCrossPlatform.hpp"
- #include "GLCustomShader.hpp"
- #include "GLMaterial.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // Composants gérés par l'EDI
- TGLSceneViewer *GLSceneViewer1;
- TCheckBox *CheckBox1;
- TGLScene *GLScene1;
- TGLDummyCube *GLDummyCube1;
- TGLCamera *GLCamera1;
- TGLLightSource *GLLightSource1;
- TGLTeapot *GLTeapot1;
- TGLMaterialLibrary *GLMaterialLibrary1;
- TGLPhongShader *GLPhongShader1;
- TGLCadencer *GLCadencer1;
- TGLAsyncTimer *AsyncTimer1;
- void __fastcall GLSceneViewer1MouseDown(TObject *Sender,
- TMouseButton Button, TShiftState Shift, int X, int Y);
- void __fastcall GLSceneViewer1MouseMove(TObject *Sender,
- TShiftState Shift, int X, int Y);
- void __fastcall AsyncTimer1Timer(TObject *Sender);
- void __fastcall CheckBox1Click(TObject *Sender);
- void __fastcall GLCadencer1Progress(TObject *Sender,
- const double deltaTime, const double newTime);
- private: // Déclarations de l'utilisateur
- public: // Déclarations de l'utilisateur
- __fastcall TForm1(TComponent* Owner);
- int mx, my;
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
|