123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <System.Classes.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.StdCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #include <Vcl.Dialogs.hpp>
- #include <Vcl.ExtCtrls.hpp>
- #include <Vcl.Menus.hpp>
- #include "GLBaseClasses.hpp"
- #include "GLBitmapFont.hpp"
- #include "GLCadencer.hpp"
- #include "GLCoordinates.hpp"
- #include "GLCrossPlatform.hpp"
- #include "GLGui.hpp"
- #include "GLMaterial.hpp"
- #include "GLScene.hpp"
- #include "GLWin32Viewer.hpp"
- #include "GLWindows.hpp"
- #include "GLWindowsFont.hpp"
- #include "GLUtils.hpp"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TGLSceneViewer *GLSceneViewer1;
- TGLScene *GLScene1;
- TGLLightSource *GLLightSource1;
- TGLForm *GLForm1;
- TGLButton *GLButton1;
- TGLEdit *GLEdit1;
- TGLLabel *GLLabel1;
- TGLCamera *GLCamera1;
- TGLCadencer *GLCadencer1;
- TTimer *Timer1;
- TGLWindowsBitmapFont *WindowsBitmapFont1;
- TMainMenu *MainMenu1;
- TMenuItem *Font1;
- TMenuItem *WindowsFont1;
- TMenuItem *miFPS;
- TFontDialog *FontDialog1;
- TGLGuiLayout *GLGuiLayout1;
- TGLMaterialLibrary *GLMaterialLibrary1;
- void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
- void __fastcall Timer1Timer(TObject *Sender);
- void __fastcall WindowsFont1Click(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 GLSceneViewer1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift,
- int X, int Y);
- void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
- void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
- void __fastcall FormKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall GLButton1ButtonClick(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
|