fGuiDemoC.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //---------------------------------------------------------------------------
  2. #ifndef fGuiDemoCH
  3. #define fGuiDemoCH
  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 "GLS.BaseClasses.hpp"
  13. #include "GLS.BitmapFont.hpp"
  14. #include "GLS.Cadencer.hpp"
  15. #include "GLS.Coordinates.hpp"
  16. #include "GLS.Gui.hpp"
  17. #include "GLS.Material.hpp"
  18. #include "GLS.Scene.hpp"
  19. #include "GLS.SceneViewer.hpp"
  20. #include "GLS.Windows.hpp"
  21. #include "GLS.WindowsFont.hpp"
  22. #include "GLS.Utils.hpp"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published: // IDE-managed Components
  27. TGLSceneViewer *GLSceneViewer1;
  28. TGLScene *GLScene1;
  29. TGLLightSource *GLLightSource1;
  30. TGLForm *GLForm1;
  31. TGLButton *GLButton1;
  32. TGLEdit *GLEdit1;
  33. TGLLabel *GLLabel1;
  34. TGLCamera *GLCamera1;
  35. TGLCadencer *GLCadencer1;
  36. TTimer *Timer1;
  37. TGLWindowsBitmapFont *WindowsBitmapFont1;
  38. TMainMenu *MainMenu1;
  39. TMenuItem *Font1;
  40. TMenuItem *WindowsFont1;
  41. TMenuItem *miFPS;
  42. TFontDialog *FontDialog1;
  43. TGLGuiLayout *GLGuiLayout1;
  44. TGLMaterialLibrary *GLMaterialLibrary1;
  45. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  46. void __fastcall Timer1Timer(TObject *Sender);
  47. void __fastcall WindowsFont1Click(TObject *Sender);
  48. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  49. int X, int Y);
  50. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  51. int Y);
  52. void __fastcall GLSceneViewer1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift,
  53. int X, int Y);
  54. void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  55. void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
  56. void __fastcall FormKeyUp(TObject *Sender, WORD &Key, TShiftState Shift);
  57. void __fastcall FormCreate(TObject *Sender);
  58. void __fastcall GLButton1ButtonClick(TObject *Sender);
  59. private: // User declarations
  60. public: // User declarations
  61. __fastcall TForm1(TComponent* Owner);
  62. };
  63. //---------------------------------------------------------------------------
  64. extern PACKAGE TForm1 *Form1;
  65. //---------------------------------------------------------------------------
  66. #endif