Unit1.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.ComCtrls.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 "GLObjects.hpp"
  17. #include "GLScene.hpp"
  18. #include "GLSMBASS.hpp"
  19. #include "GLSMFMOD.hpp"
  20. #include "GLSMOpenAL.hpp"
  21. #include "GLSound.hpp"
  22. #include "GLWin32Viewer.hpp"
  23. #include "GLUtils.hpp"
  24. #include "GLFileWAV.hpp"
  25. #include "GLFileMP3.hpp"
  26. #include "BASS.hpp"
  27. //---------------------------------------------------------------------------
  28. class TForm1 : public TForm
  29. {
  30. __published: // IDE-managed Components
  31. TGLSceneViewer *GLSceneViewer;
  32. TTrackBar *TrackBar;
  33. TTrackBar *TrackBar1;
  34. TPanel *Panel1;
  35. TLabel *Label1;
  36. TLabel *LabelFPS;
  37. TRadioButton *RBBass;
  38. TRadioButton *RBFMOD;
  39. TButton *Button1;
  40. TButton *btnHowl;
  41. TRadioButton *RBOpenAL;
  42. TGLSMFMOD *GLSMFMOD;
  43. TGLSMBASS *GLSMBASS;
  44. TGLSMOpenAL *GLSMOpenAL;
  45. TGLSoundLibrary *GLSoundLibrary;
  46. TGLScene *GLScene;
  47. TGLDummyCube *DummyCube;
  48. TGLTorus *Torus1;
  49. TGLSphere *Mickey;
  50. TGLSphere *Sphere2;
  51. TGLSphere *Sphere3;
  52. TGLCone *Cone1;
  53. TGLPlane *Plane1;
  54. TGLSphere *Sphere;
  55. TGLDisk *Disk1;
  56. TGLLightSource *GLLightSource;
  57. TGLCamera *GLCamera1;
  58. TGLCadencer *GLCadencer1;
  59. TTimer *Timer;
  60. void __fastcall FormCreate(TObject *Sender);
  61. void __fastcall TrackBar1Change(TObject *Sender);
  62. void __fastcall SphereProgress(TObject *Sender, const double deltaTime, const double newTime);
  63. void __fastcall TrackBarChange(TObject *Sender);
  64. void __fastcall Button1Click(TObject *Sender);
  65. void __fastcall btnHowlClick(TObject *Sender);
  66. void __fastcall TimerTimer(TObject *Sender);
  67. void __fastcall RBFMODClick(TObject *Sender);
  68. void __fastcall GLSceneViewerMouseMove(TObject *Sender, TShiftState Shift, int X,
  69. int Y);
  70. void __fastcall GLSceneViewerMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  71. int X, int Y);
  72. private: // User declarations
  73. public: // User declarations
  74. __fastcall TForm1(TComponent* Owner);
  75. };
  76. //---------------------------------------------------------------------------
  77. extern PACKAGE TForm1 *Form1;
  78. //---------------------------------------------------------------------------
  79. #endif