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 "GLBaseClasses.hpp"
  10. #include "GLCoordinates.hpp"
  11. #include "GLCrossPlatform.hpp"
  12. #include "GLHUDObjects.hpp"
  13. #include "GLObjects.hpp"
  14. #include "GLScene.hpp"
  15. #include "GLWin32Viewer.hpp"
  16. #include <Vcl.ExtCtrls.hpp>
  17. //---------------------------------------------------------------------------
  18. class TForm1 : public TForm
  19. {
  20. __published: // IDE-managed Components
  21. TGLSceneViewer *GLSceneViewer1;
  22. TPanel *Panel1;
  23. TLabel *Label2;
  24. TLabel *Label3;
  25. TLabel *Label4;
  26. TLabel *LAPicSize;
  27. TLabel *Label5;
  28. TLabel *LAUsedMemory;
  29. TLabel *LARGB32;
  30. TLabel *LACompression;
  31. TComboBox *CBFormat;
  32. TComboBox *CBCompression;
  33. TComboBox *CBImage;
  34. TRadioButton *RBDefault;
  35. TRadioButton *RBDouble;
  36. TRadioButton *RBQuad;
  37. TGLScene *GLScene1;
  38. TGLHUDSprite *HUDSprite1;
  39. TGLCamera *GLCamera1;
  40. void __fastcall FormCreate(TObject *Sender);
  41. void __fastcall CBImageChange(TObject *Sender);
  42. void __fastcall FormResize(TObject *Sender);
  43. void __fastcall GLSceneViewer1AfterRender(TObject *Sender);
  44. void __fastcall RBDefaultClick(TObject *Sender);
  45. void __fastcall RBDoubleClick(TObject *Sender);
  46. void __fastcall RBQuadClick(TObject *Sender);
  47. void __fastcall CBCompressionChange(TObject *Sender);
  48. void __fastcall CBFormatChange(TObject *Sender);
  49. private: // User declarations
  50. public: // User declarations
  51. __fastcall TForm1(TComponent* Owner);
  52. bool newSelection;
  53. };
  54. //---------------------------------------------------------------------------
  55. extern PACKAGE TForm1 *Form1;
  56. //---------------------------------------------------------------------------
  57. #endif