123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #include <tchar.h>
- #include <gl.h>
- #include <glext.h>
- //---------------------------------------------------------------------------
- #include <System.Classes.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.StdCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #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
|