1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Winapi.Windows.hpp>
- #include <System.Classes.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.StdCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #include "GLBaseClasses.hpp"
- #include "GLBitmapFont.hpp"
- #include "GLCadencer.hpp"
- #include "GLCoordinates.hpp"
- #include "GLCrossPlatform.hpp"
- #include "GLCustomShader.hpp"
- #include "GLFBORenderer.hpp"
- #include "GLGeomObjects.hpp"
- #include "GLHUDObjects.hpp"
- #include "GLMaterial.hpp"
- #include "GLObjects.hpp"
- #include "GLScene.hpp"
- #include "GLSimpleNavigation.hpp"
- #include "GLSLShader.hpp"
- #include "GLWin32Viewer.hpp"
- #include "GLWindowsFont.hpp"
- #include "GLState.hpp"
- #include "GLContext.hpp"
- #include "GLKeyboard.hpp"
- #include "OpenGL1x.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TGLSceneViewer *MainViewer;
- TGLScene *MainScene;
- TGLCamera *MainCamera;
- TGLLightSource *TestLight;
- TGLDummyCube *FBOContainer;
- TGLFBORenderer *MultisampleFBO;
- TGLDummyCube *SceneObjects;
- TGLSphere *GLSphere1;
- TGLTorus *GLTorus1;
- TGLTorus *GLTorus2;
- TGLCone *GLCone1;
- TGLLines *GLLines1;
- TGLHUDSprite *GLScreenQuad;
- TGLHUDText *GLHUDText1;
- TGLCadencer *MainCadencer;
- TGLMaterialLibrary *MainMaterialLibrary;
- TGLSLShader *GLSLShader1;
- TGLSimpleNavigation *GLSimpleNavigation1;
- TGLWindowsBitmapFont *GLWindowsBitmapFont1;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall MainCadencerProgress(TObject *Sender, const double deltaTime, const double newTime);
- void __fastcall FormResize(TObject *Sender);
- void __fastcall GLSLShader1Apply(TGLCustomGLSLShader *Shader);
- void __fastcall MainViewerBeforeRender(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
|