Unit1.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Windows.hpp>
  6. #include <Messages.hpp>
  7. #include <SysUtils.hpp>
  8. #include <Graphics.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.Forms.hpp>
  11. #include <Vcl.ExtCtrls.hpp>
  12. #include <System.Classes.hpp>
  13. #include <Dialogs.hpp>
  14. #include <Vcl.StdCtrls.hpp>
  15. #include <Vcl.Imaging.jpeg.hpp>
  16. #include "GLScene.hpp"
  17. #include "GLObjects.hpp"
  18. #include "GLWin32Viewer.hpp"
  19. #include "GLGeomObjects.hpp"
  20. #include "GLBitmapFont.hpp"
  21. #include "GLWindowsFont.hpp"
  22. #include "GLGameMenu.hpp"
  23. #include "GLCadencer.hpp"
  24. #include "GLTexture.hpp"
  25. #include "GLKeyboard.hpp"
  26. #include "GLCrossPlatform.hpp"
  27. #include "GLMaterial.hpp"
  28. #include "GLCoordinates.hpp"
  29. #include "GLBaseClasses.hpp"
  30. #include "GLUtils.hpp"
  31. //---------------------------------------------------------------------------
  32. class TForm1 : public TForm
  33. {
  34. __published: // IDE-managed Components
  35. TGLSceneViewer *GLSceneViewer1;
  36. TPanel *MainPanel;
  37. TLabel *Label1;
  38. TCheckBox *ShowTitleCheckbox;
  39. TGLScene *GLScene1;
  40. TGLDummyCube *GLDummyCube1;
  41. TGLCube *GLCube1;
  42. TGLCamera *GLCamera1;
  43. TGLLightSource *GLLightSource1;
  44. TGLWindowsBitmapFont *GLWindowsBitmapFont1;
  45. TGLCadencer *GLCadencer1;
  46. TGLMaterialLibrary *GLMaterialLibrary1;
  47. void __fastcall FormCreate(TObject *Sender);
  48. void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  49. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  50. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  51. int Y);
  52. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  53. int X, int Y);
  54. void __fastcall ShowTitleCheckboxClick(TObject *Sender);
  55. void __fastcall MainPanelResize(TObject *Sender);
  56. private: // User declarations
  57. int mx, my;
  58. TGLGameMenu *GameMenu;
  59. public: // User declarations
  60. __fastcall TForm1(TComponent* Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TForm1 *Form1;
  64. //---------------------------------------------------------------------------
  65. #endif