Unit1.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Forms.hpp>
  7. #include "GLBaseClasses.hpp"
  8. #include "GLCoordinates.hpp"
  9. #include "GLCrossPlatform.hpp"
  10. #include "GLScene.hpp"
  11. #include "GLContext.hpp"
  12. #include "GLUtils.hpp"
  13. #include "GLTeapot.hpp"
  14. #include "OpenGL1x.hpp"
  15. #include "GLSDLContext.hpp"
  16. #include <Vcl.Imaging.jpeg.hpp>
  17. //---------------------------------------------------------------------------
  18. class TDataModule1 : public TDataModule
  19. {
  20. __published: // IDE-managed Components
  21. TGLScene *GLScene1;
  22. TGLLightSource *GLLightSource1;
  23. TGLTeapot *Teapot1;
  24. TGLCamera *GLCamera1;
  25. TGLSDLViewer *SDLViewer1;
  26. void DataModuleCreate(TObject *Sender);
  27. void GLSDLViewer1EventPollDone(TObject *Sender);
  28. void GLSDLViewer1Resize(TObject *Sender);
  29. private: // User declarations
  30. bool firstPassDone;
  31. public: // User declarations
  32. __fastcall TDataModule1(TComponent* Owner);
  33. };
  34. //---------------------------------------------------------------------------
  35. extern PACKAGE TDataModule1 *DataModule1;
  36. //---------------------------------------------------------------------------
  37. #endif