//--------------------------------------------------------------------------- #ifndef Unit2H #define Unit2H //--------------------------------------------------------------------------- #include #include #include #include #include "GLS.BaseClasses.hpp" #include "GLS.Behaviours.hpp" #include "GLS.Cadencer.hpp" #include "GLS.Coordinates.hpp" #include "GLS.GeomObjects.hpp" #include "GLS.Objects.hpp" #include "GLS.Scene.hpp" #include "GLS.SpaceText.hpp" #include "GLS.SceneViewer.hpp" #include "GLS.ScreenSaver.hpp" #include "Registry.hpp" //--------------------------------------------------------------------------- class TForm2 : public TForm { __published: // IDE-managed Components TGLSceneViewer *GLSceneViewer1; TButton *Button1; TButton *Button2; TGLScene *GLScene1; TGLLightSource *GLLightSource1; TGLDummyCube *DummyCube1; TGLSpaceText *SpaceText4; TGLTorus *Torus1; TGLTorus *Torus2; TGLCamera *GLCamera1; TGLCadencer *GLCadencer1; void __fastcall FormCreate(TObject *Sender); void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall Button2Click(TObject *Sender); private: // User declarations int FLastHotNb; void __fastcall SetSelected(int nb); void __fastcall SetHot(int nb); public: // User declarations __fastcall TForm2(TComponent* Owner); }; int __fastcall GetMeshResolutions(); void __fastcall SetMeshResolutions(int MeshResolutions); //--------------------------------------------------------------------------- extern PACKAGE TForm2 *Form2; //--------------------------------------------------------------------------- #endif