Unit1.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 "GLBaseClasses.hpp"
  10. #include "GLBehaviours.hpp"
  11. #include "GLCadencer.hpp"
  12. #include "GLCoordinates.hpp"
  13. #include "GLCrossPlatform.hpp"
  14. #include "GLObjects.hpp"
  15. #include "GLParticles.hpp"
  16. #include "GLScene.hpp"
  17. #include "GLWin32Viewer.hpp"
  18. #include <Vcl.ExtCtrls.hpp>
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TPanel *Panel1;
  25. TGLCadencer *GLCadencer1;
  26. TTimer *Timer1;
  27. TGLScene *GLScene1;
  28. TGLParticles *GLParticles1;
  29. TGLDummyCube *DummyCube1;
  30. TGLSprite *Sprite1;
  31. TGLCamera *GLCamera1;
  32. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  33. int X, int Y);
  34. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  35. int Y);
  36. void __fastcall GLDummyCube1Progress(TObject *Sender, const double deltaTime, const double newTime);
  37. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  38. void __fastcall GLParticles1ActivateParticle(TObject *Sender, TGLBaseSceneObject *particle);
  39. void __fastcall Timer1Timer(TObject *Sender);
  40. private: // User declarations
  41. int mx, my;
  42. public: // User declarations
  43. __fastcall TForm1(TComponent* Owner);
  44. };
  45. //---------------------------------------------------------------------------
  46. extern PACKAGE TForm1 *Form1;
  47. //---------------------------------------------------------------------------
  48. #endif