Unit1.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "GLAsyncTimer.hpp"
  10. #include "GLCadencer.hpp"
  11. #include "GLObjects.hpp"
  12. #include "GLPhongShader.hpp"
  13. #include "GLScene.hpp"
  14. #include "GLTeapot.hpp"
  15. #include "GLTexture.hpp"
  16. #include "GLWin32Viewer.hpp"
  17. #include "GLBaseClasses.hpp"
  18. #include "GLAsmShader.hpp"
  19. #include "GLCoordinates.hpp"
  20. #include "GLCrossPlatform.hpp"
  21. #include "GLCustomShader.hpp"
  22. #include "GLMaterial.hpp"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published: // Composants gérés par l'EDI
  27. TGLSceneViewer *GLSceneViewer1;
  28. TCheckBox *CheckBox1;
  29. TGLScene *GLScene1;
  30. TGLDummyCube *GLDummyCube1;
  31. TGLCamera *GLCamera1;
  32. TGLLightSource *GLLightSource1;
  33. TGLTeapot *GLTeapot1;
  34. TGLMaterialLibrary *GLMaterialLibrary1;
  35. TGLPhongShader *GLPhongShader1;
  36. TGLCadencer *GLCadencer1;
  37. TGLAsyncTimer *AsyncTimer1;
  38. void __fastcall GLSceneViewer1MouseDown(TObject *Sender,
  39. TMouseButton Button, TShiftState Shift, int X, int Y);
  40. void __fastcall GLSceneViewer1MouseMove(TObject *Sender,
  41. TShiftState Shift, int X, int Y);
  42. void __fastcall AsyncTimer1Timer(TObject *Sender);
  43. void __fastcall CheckBox1Click(TObject *Sender);
  44. void __fastcall GLCadencer1Progress(TObject *Sender,
  45. const double deltaTime, const double newTime);
  46. private: // Déclarations de l'utilisateur
  47. public: // Déclarations de l'utilisateur
  48. __fastcall TForm1(TComponent* Owner);
  49. int mx, my;
  50. };
  51. //---------------------------------------------------------------------------
  52. extern PACKAGE TForm1 *Form1;
  53. //---------------------------------------------------------------------------
  54. #endif