2
0

Unit1.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.Buttons.hpp>
  10. #include "GLBaseClasses.hpp"
  11. #include "GLCadencer.hpp"
  12. #include "GLCoordinates.hpp"
  13. #include "GLCrossPlatform.hpp"
  14. #include "GLObjects.hpp"
  15. #include "GLScene.hpp"
  16. #include "GLSimpleNavigation.hpp"
  17. #include "GLWin32Viewer.hpp"
  18. #include "GLMovement.hpp"
  19. //---------------------------------------------------------------------------
  20. class TForm1 : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TGLSceneViewer *GLSceneViewer1;
  24. TBitBtn *MoveBtn;
  25. TGLScene *GLScene1;
  26. TGLDummyCube *DummyCube1;
  27. TGLCube *Cube2;
  28. TGLLightSource *GLLightSource1;
  29. TGLSphere *Sphere1;
  30. TGLCamera *GLCamera1;
  31. TGLCadencer *GLCadencer1;
  32. TGLSimpleNavigation *GLSimpleNavigation1;
  33. void __fastcall FormActivate(TObject *Sender);
  34. void __fastcall MoveBtnClick(TObject *Sender);
  35. private: // User declarations
  36. void PathTravelStop(TObject *Sender, TGLMovementPath *Path, bool Looped);
  37. void PathAllTravelledOver(TObject *Sender);
  38. public: // User declarations
  39. __fastcall TForm1(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern PACKAGE TForm1 *Form1;
  43. //---------------------------------------------------------------------------
  44. #endif