fConsoleC.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //---------------------------------------------------------------------------
  2. #ifndef fConsoleCH
  3. #define fConsoleCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.ExtCtrls.hpp>
  10. #include "GLS.Scene.hpp"
  11. #include "GLS.Objects.hpp"
  12. #include "GLS.Cadencer.hpp"
  13. #include "GLS.SceneViewer.hpp"
  14. #include "GLS.BaseClasses.hpp"
  15. #include "GLS.Texture.hpp"
  16. #include "GLS.BitmapFont.hpp"
  17. #include "GLS.WindowsFont.hpp"
  18. #include "GLS.Behaviours.hpp"
  19. #include "GLS.Console.hpp"
  20. #include "GLS.Coordinates.hpp"
  21. #include "GLS.SimpleNavigation.hpp"
  22. #include "GLS.Utils.hpp"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published: // IDE-managed Components
  27. TSplitter *Splitter1;
  28. TGLSceneViewer *Viewer;
  29. TPanel *Panel1;
  30. TSplitter *Splitter2;
  31. TGroupBox *GroupBox1;
  32. TLabel *Label1;
  33. TLabel *Label2;
  34. TCheckBox *CheckBox1;
  35. TCheckBox *CheckBox2;
  36. TCheckBox *CheckBox3;
  37. TButton *Button1;
  38. TButton *Button2;
  39. TButton *Button6;
  40. TButton *Button7;
  41. TListBox *ListBox1;
  42. TGLCadencer *GLCadencer1;
  43. TGLScene *Scene;
  44. TGLCube *GLCube1;
  45. TGLCamera *GLCamera1;
  46. TGLLightSource *GLLightSource1;
  47. TGLWindowsBitmapFont *Font1;
  48. TTimer *Timer1;
  49. TGLSimpleNavigation *GLSimpleNavigation1;
  50. TGLConsole *GLConsole1;
  51. void __fastcall FormCreate(TObject *Sender);
  52. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  53. void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
  54. void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  55. void __fastcall ViewerMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  56. int X, int Y);
  57. void __fastcall FormResize(TObject *Sender);
  58. void __fastcall CheckBox1Click(TObject *Sender);
  59. void __fastcall CheckBox2Click(TObject *Sender);
  60. void __fastcall CheckBox3Click(TObject *Sender);
  61. void __fastcall Button1Click(TObject *Sender);
  62. void __fastcall Button2Click(TObject *Sender);
  63. void __fastcall Button6Click(TObject *Sender);
  64. void __fastcall Button7Click(TObject *Sender);
  65. private: // User declarations
  66. public: // User declarations
  67. __fastcall TForm1(TComponent* Owner);
  68. void __fastcall OnHelloCommand(const TGLConsoleCommand *ConsoleCommand,
  69. const TGLCustomConsole *Console, TGLUserInputCommand &Command);
  70. void __fastcall OnCommand(const TGLConsoleCommand *ConsoleCommand,
  71. const TGLCustomConsole *Console, TGLUserInputCommand &Command);
  72. };
  73. //---------------------------------------------------------------------------
  74. extern PACKAGE TForm1 *Form1;
  75. //---------------------------------------------------------------------------
  76. #endif