Unit1.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 "GLCadencer.hpp"
  11. #include "GLCoordinates.hpp"
  12. #include "GLCrossPlatform.hpp"
  13. #include "GLMaterial.hpp"
  14. #include "GLObjects.hpp"
  15. #include "GLScene.hpp"
  16. #include "GLWin32Viewer.hpp"
  17. #include <Vcl.ExtCtrls.hpp>
  18. #include "GLBlur.hpp"
  19. #include "JPeg.hpp"
  20. //---------------------------------------------------------------------------
  21. class TForm1 : public TForm
  22. {
  23. __published: // IDE-managed Components
  24. TGLSceneViewer *GLSceneViewer1;
  25. TPanel *Panel1;
  26. TLabel *Label1;
  27. TLabel *Label2;
  28. TLabel *LabelFPS;
  29. TComboBox *ComboBox1;
  30. TComboBox *ComboBox2;
  31. TGLScene *GLScene1;
  32. TGLLightSource *GLLightSource1;
  33. TGLCube *GLCube1;
  34. TGLSphere *GLSphere1;
  35. TGLDummyCube *GLDummyCube1;
  36. TGLCamera *GLCamera1;
  37. TGLMaterialLibrary *GLMaterialLibrary1;
  38. TGLCadencer *GLCadencer1;
  39. TTimer *Timer1;
  40. void __fastcall FormCreate(TObject *Sender);
  41. void __fastcall ComboBox1Change(TObject *Sender);
  42. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  43. void __fastcall ComboBox2Change(TObject *Sender);
  44. void __fastcall Timer1Timer(TObject *Sender);
  45. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  46. int Y);
  47. private: // User declarations
  48. int oldx, oldy;
  49. TGLBlur *B;
  50. public: // User declarations
  51. __fastcall TForm1(TComponent* Owner);
  52. };
  53. //---------------------------------------------------------------------------
  54. extern PACKAGE TForm1 *Form1;
  55. //---------------------------------------------------------------------------
  56. #endif