Unit1.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <tchar.h>
  6. #include <System.Classes.hpp>
  7. #include <Vcl.Controls.hpp>
  8. #include <Vcl.StdCtrls.hpp>
  9. #include <Vcl.Forms.hpp>
  10. #include <Vcl.ExtCtrls.hpp>
  11. #include "GLBaseClasses.hpp"
  12. #include "GLCadencer.hpp"
  13. #include "GLCoordinates.hpp"
  14. #include "GLCrossPlatform.hpp"
  15. #include "GLGeomObjects.hpp"
  16. #include "GLMaterial.hpp"
  17. #include "GLObjects.hpp"
  18. #include "GLScene.hpp"
  19. #include "GLSLProjectedTextures.hpp"
  20. #include "GLVectorFileObjects.hpp"
  21. #include "GLWin32Viewer.hpp"
  22. //---------------------------------------------------------------------------
  23. class TForm1 : public TForm
  24. {
  25. __published: // IDE-managed Components
  26. TGLSceneViewer *GLSceneViewer1;
  27. TGLScene *GLScene1;
  28. TGLSLProjectedTextures *GLSLProjectedTextures1;
  29. TGLFreeForm *GLFreeForm1;
  30. TGLCube *GLCube1;
  31. TGLDummyCube *GLDummyCube3;
  32. TGLSLTextureEmitter *GLSLTextureEmitter2;
  33. TGLArrowLine *GLArrowLine1;
  34. TGLSLTextureEmitter *GLSLTextureEmitter1;
  35. TGLCamera *GLCamera1;
  36. TGLLightSource *GLLightSource2;
  37. TGLCadencer *GLCadencer1;
  38. TTimer *Timer1;
  39. TGLMaterialLibrary *GLMaterialLibrary1;
  40. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  41. void __fastcall GLCamera1CustomPerspective(const TRectangle &viewport, int width,
  42. int height, int DPI, float &viewPortRadius);
  43. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  44. int Y);
  45. void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta,
  46. TPoint &MousePos, bool &Handled);
  47. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  48. int X, int Y);
  49. void __fastcall Timer1Timer(TObject *Sender);
  50. void __fastcall FormCreate(TObject *Sender);
  51. private: // User declarations
  52. int mx, my;
  53. int sdir;
  54. public: // User declarations
  55. __fastcall TForm1(TComponent* Owner);
  56. };
  57. //---------------------------------------------------------------------------
  58. extern PACKAGE TForm1 *Form1;
  59. //---------------------------------------------------------------------------
  60. #endif