Unit2.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit2H
  3. #define Unit2H
  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 "GLBehaviours.hpp"
  11. #include "GLCadencer.hpp"
  12. #include "GLCoordinates.hpp"
  13. #include "GLCrossPlatform.hpp"
  14. #include "GLGeomObjects.hpp"
  15. #include "GLObjects.hpp"
  16. #include "GLScene.hpp"
  17. #include "GLSpaceText.hpp"
  18. #include "GLWin32Viewer.hpp"
  19. #include "GLScreenSaver.hpp"
  20. #include "Registry.hpp"
  21. //---------------------------------------------------------------------------
  22. class TForm2 : public TForm
  23. {
  24. __published: // IDE-managed Components
  25. TGLSceneViewer *GLSceneViewer1;
  26. TButton *Button1;
  27. TButton *Button2;
  28. TGLScene *GLScene1;
  29. TGLLightSource *GLLightSource1;
  30. TGLDummyCube *DummyCube1;
  31. TGLSpaceText *SpaceText4;
  32. TGLTorus *Torus1;
  33. TGLTorus *Torus2;
  34. TGLCamera *GLCamera1;
  35. TGLCadencer *GLCadencer1;
  36. void __fastcall FormCreate(TObject *Sender);
  37. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  38. int Y);
  39. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  40. int X, int Y);
  41. void __fastcall Button2Click(TObject *Sender);
  42. private: // User declarations
  43. int FLastHotNb;
  44. void __fastcall SetSelected(int nb);
  45. void __fastcall SetHot(int nb);
  46. public: // User declarations
  47. __fastcall TForm2(TComponent* Owner);
  48. };
  49. int __fastcall GetMeshResolutions();
  50. void __fastcall SetMeshResolutions(int MeshResolutions);
  51. //---------------------------------------------------------------------------
  52. extern PACKAGE TForm2 *Form2;
  53. //---------------------------------------------------------------------------
  54. #endif