Unit1.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 "GLCoordinates.hpp"
  11. #include "GLCrossPlatform.hpp"
  12. #include "GLExtrusion.hpp"
  13. #include "GLObjects.hpp"
  14. #include "GLScene.hpp"
  15. #include "GLWin32Viewer.hpp"
  16. #include <Vcl.ComCtrls.hpp>
  17. #include <Vcl.ExtCtrls.hpp>
  18. #include "GLUtils.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 *Label3;
  28. TLabel *Label4;
  29. TLabel *Label2;
  30. TLabel *LabelTri;
  31. TCheckBox *CheckBox1;
  32. TCheckBox *CheckBox2;
  33. TCheckBox *CheckBox3;
  34. TCheckBox *CheckBox4;
  35. TTrackBar *TrackBar2;
  36. TTrackBar *TrackBar3;
  37. TTrackBar *TrackBar1;
  38. TGLScene *GLScene1;
  39. TGLLightSource *GLLightSource1;
  40. TGLDummyCube *DummyCube1;
  41. TGLRevolutionSolid *RotationSolid1;
  42. TGLCamera *GLCamera1;
  43. TTimer *Timer1;
  44. void __fastcall FormCreate(TObject *Sender);
  45. void __fastcall CheckBox1Click(TObject *Sender);
  46. void __fastcall CheckBox2Click(TObject *Sender);
  47. void __fastcall CheckBox3Click(TObject *Sender);
  48. void __fastcall CheckBox4Click(TObject *Sender);
  49. void __fastcall TrackBar1Change(TObject *Sender);
  50. void __fastcall TrackBar2Change(TObject *Sender);
  51. void __fastcall TrackBar3Change(TObject *Sender);
  52. void __fastcall Timer1Timer(TObject *Sender);
  53. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  54. int X, int Y);
  55. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  56. int Y);
  57. private: // User declarations
  58. int mx,my;
  59. public: // User declarations
  60. __fastcall TForm1(TComponent* Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TForm1 *Form1;
  64. //---------------------------------------------------------------------------
  65. #endif