Unit1.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 "GLHUDObjects.hpp"
  18. #include "GLScene.hpp"
  19. #include "GLTeapot.hpp"
  20. #include "GLWin32Viewer.hpp"
  21. #include "GLWindowsFont.hpp"
  22. #include "Unit2.h"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published: // IDE-managed Components
  27. TGLSceneViewer *GLSceneViewer1;
  28. TGLScene *GLScene1;
  29. TGLLightSource *GLLightSource1;
  30. TGLTeapot *Teapot1;
  31. TGLHUDText *HUDText1;
  32. TGLHUDText *HUDText2;
  33. TGLHUDText *HUDText3;
  34. TGLCamera *GLCamera1;
  35. TGLCadencer *GLCadencer1;
  36. TTimer *Timer1;
  37. TGLWindowsBitmapFont *WindowsBitmapFont1;
  38. TMainMenu *MainMenu1;
  39. TMenuItem *MIPickFont;
  40. TMenuItem *MIViewTexture;
  41. TMenuItem *MIFPS;
  42. TFontDialog *FontDialog1;
  43. void __fastcall FormCreate(TObject *Sender);
  44. void __fastcall MIPickFontClick(TObject *Sender);
  45. void __fastcall MIViewTextureClick(TObject *Sender);
  46. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  47. void __fastcall Timer1Timer(TObject *Sender);
  48. void __fastcall GLSceneViewer1Click(TObject *Sender);
  49. private: // User declarations
  50. public: // User declarations
  51. __fastcall TForm1(TComponent* Owner);
  52. };
  53. //---------------------------------------------------------------------------
  54. extern PACKAGE TForm1 *Form1;
  55. //---------------------------------------------------------------------------
  56. #endif