Unit1.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Winapi.Windows.hpp>
  6. #include <System.Classes.hpp>
  7. #include <Vcl.Controls.hpp>
  8. #include <Vcl.StdCtrls.hpp>
  9. #include <Vcl.Forms.hpp>
  10. #include "GLBaseClasses.hpp"
  11. #include "GLBitmapFont.hpp"
  12. #include "GLCadencer.hpp"
  13. #include "GLCoordinates.hpp"
  14. #include "GLCrossPlatform.hpp"
  15. #include "GLCustomShader.hpp"
  16. #include "GLFBORenderer.hpp"
  17. #include "GLGeomObjects.hpp"
  18. #include "GLHUDObjects.hpp"
  19. #include "GLMaterial.hpp"
  20. #include "GLObjects.hpp"
  21. #include "GLScene.hpp"
  22. #include "GLSimpleNavigation.hpp"
  23. #include "GLSLShader.hpp"
  24. #include "GLWin32Viewer.hpp"
  25. #include "GLWindowsFont.hpp"
  26. #include "GLState.hpp"
  27. #include "GLContext.hpp"
  28. #include "GLKeyboard.hpp"
  29. #include "OpenGL1x.hpp"
  30. //---------------------------------------------------------------------------
  31. class TForm1 : public TForm
  32. {
  33. __published: // IDE-managed Components
  34. TGLSceneViewer *MainViewer;
  35. TGLScene *MainScene;
  36. TGLCamera *MainCamera;
  37. TGLLightSource *TestLight;
  38. TGLDummyCube *FBOContainer;
  39. TGLFBORenderer *MultisampleFBO;
  40. TGLDummyCube *SceneObjects;
  41. TGLSphere *GLSphere1;
  42. TGLTorus *GLTorus1;
  43. TGLTorus *GLTorus2;
  44. TGLCone *GLCone1;
  45. TGLLines *GLLines1;
  46. TGLHUDSprite *GLScreenQuad;
  47. TGLHUDText *GLHUDText1;
  48. TGLCadencer *MainCadencer;
  49. TGLMaterialLibrary *MainMaterialLibrary;
  50. TGLSLShader *GLSLShader1;
  51. TGLSimpleNavigation *GLSimpleNavigation1;
  52. TGLWindowsBitmapFont *GLWindowsBitmapFont1;
  53. void __fastcall FormCreate(TObject *Sender);
  54. void __fastcall MainCadencerProgress(TObject *Sender, const double deltaTime, const double newTime);
  55. void __fastcall FormResize(TObject *Sender);
  56. void __fastcall GLSLShader1Apply(TGLCustomGLSLShader *Shader);
  57. void __fastcall MainViewerBeforeRender(TObject *Sender);
  58. private: // User declarations
  59. public: // User declarations
  60. __fastcall TForm1(TComponent* Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TForm1 *Form1;
  64. //---------------------------------------------------------------------------
  65. #endif