Unit1.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.ExtCtrls.hpp>
  10. #include "GLBaseClasses.hpp"
  11. #include "GLCadencer.hpp"
  12. #include "GLCoordinates.hpp"
  13. #include "GLCrossPlatform.hpp"
  14. #include "GLExtrusion.hpp"
  15. #include "GLObjects.hpp"
  16. #include "GLScene.hpp"
  17. #include "GLVectorgeometry.hpp"
  18. #include "GLWin32Viewer.hpp"
  19. #include "GLSpline.hpp"
  20. //---------------------------------------------------------------------------
  21. class TForm1 : public TForm
  22. {
  23. __published: // IDE-managed Components
  24. TGLSceneViewer *GLSceneViewer1;
  25. TCheckBox *CBSpline;
  26. TCheckBox *CBFat;
  27. TPanel *PanelFPS;
  28. TGLScene *GLScene1;
  29. TGLLightSource *GLLightSource1;
  30. TGLPipe *Pipe1;
  31. TGLDummyCube *DummyCube1;
  32. TGLCamera *GLCamera1;
  33. TGLCadencer *GLCadencer1;
  34. TTimer *Timer1;
  35. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  36. int X, int Y);
  37. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  38. int Y);
  39. void __fastcall Timer1Timer(TObject *Sender);
  40. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  41. void __fastcall CBSplineClick(TObject *Sender);
  42. private: // User declarations
  43. int mx, my;
  44. public: // User declarations
  45. __fastcall TForm1(TComponent* Owner);
  46. };
  47. //---------------------------------------------------------------------------
  48. extern PACKAGE TForm1 *Form1;
  49. //---------------------------------------------------------------------------
  50. #endif