//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include #include #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