//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- #include #include #include #include #include "GLBaseClasses.hpp" #include "GLCoordinates.hpp" #include "GLCrossPlatform.hpp" #include "GLObjects.hpp" #include "GLScene.hpp" #include "GLTeapot.hpp" #include "GLWin32Viewer.hpp" #include "Jpeg.hpp" #include "GLColor.hpp" #include "GLContext.hpp" #include "GLTexture.hpp" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGLSceneViewer *GLSceneViewer1; TButton *Button1; TGLScene *GLScene1; TGLDummyCube *DummyCube1; TGLLightSource *GLLightSource1; TGLTeapot *Teapot1; TGLCamera *GLCamera1; void __fastcall GLSceneViewer1BeforeRender(TObject *Sender); void __fastcall Button1Click(TObject *Sender); void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta, TPoint &MousePos, bool &Handled); private: // User declarations int mx,my; bool CubmapSupported; public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif