Unit1.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.Dialogs.hpp>
  10. #include <Vcl.ExtCtrls.hpp>
  11. #include <Vcl.Menus.hpp>
  12. #include "GLBaseClasses.hpp"
  13. #include "GLBitmapFont.hpp"
  14. #include "GLCadencer.hpp"
  15. #include "GLCoordinates.hpp"
  16. #include "GLCrossPlatform.hpp"
  17. #include "GLGui.hpp"
  18. #include "GLMaterial.hpp"
  19. #include "GLScene.hpp"
  20. #include "GLWin32Viewer.hpp"
  21. #include "GLWindows.hpp"
  22. #include "GLWindowsFont.hpp"
  23. #include "GLUtils.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TGLSceneViewer *GLSceneViewer1;
  29. TGLScene *GLScene1;
  30. TGLLightSource *GLLightSource1;
  31. TGLForm *GLForm1;
  32. TGLButton *GLButton1;
  33. TGLEdit *GLEdit1;
  34. TGLLabel *GLLabel1;
  35. TGLCamera *GLCamera1;
  36. TGLCadencer *GLCadencer1;
  37. TTimer *Timer1;
  38. TGLWindowsBitmapFont *WindowsBitmapFont1;
  39. TMainMenu *MainMenu1;
  40. TMenuItem *Font1;
  41. TMenuItem *WindowsFont1;
  42. TMenuItem *miFPS;
  43. TFontDialog *FontDialog1;
  44. TGLGuiLayout *GLGuiLayout1;
  45. TGLMaterialLibrary *GLMaterialLibrary1;
  46. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  47. void __fastcall Timer1Timer(TObject *Sender);
  48. void __fastcall WindowsFont1Click(TObject *Sender);
  49. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  50. int X, int Y);
  51. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  52. int Y);
  53. void __fastcall GLSceneViewer1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift,
  54. int X, int Y);
  55. void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  56. void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
  57. void __fastcall FormKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
  58. void __fastcall FormCreate(TObject *Sender);
  59. void __fastcall GLButton1ButtonClick(TObject *Sender);
  60. private: // User declarations
  61. public: // User declarations
  62. __fastcall TForm1(TComponent* Owner);
  63. };
  64. //---------------------------------------------------------------------------
  65. extern PACKAGE TForm1 *Form1;
  66. //---------------------------------------------------------------------------
  67. #endif