fTexCombineC.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //---------------------------------------------------------------------------
  2. #ifndef fTexCombineCH
  3. #define fTexCombineCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include "GLS.BaseClasses.hpp"
  10. #include "GLS.Coordinates.hpp"
  11. #include "GLS.HUDObjects.hpp"
  12. #include "GLS.Material.hpp"
  13. #include "GLS.Objects.hpp"
  14. #include "GLS.Scene.hpp"
  15. #include "GLS.SceneViewer.hpp"
  16. #include "GLSL.TextureShaders.hpp"
  17. #include <Vcl.Dialogs.hpp>
  18. #include <Vcl.ExtCtrls.hpp>
  19. //---------------------------------------------------------------------------
  20. class TFormCombine : public TForm
  21. {
  22. __published: // IDE-managed Components
  23. TImage *Image1;
  24. TImage *Image2;
  25. TImage *Image3;
  26. TLabel *Label1;
  27. TImage *Image4;
  28. TLabel *Label3;
  29. TLabel *Label4;
  30. TLabel *Label2;
  31. TGLSceneViewer *SceneViewer;
  32. TButton *BUApply;
  33. TPanel *PATex1;
  34. TPanel *PATex2;
  35. TPanel *PATex3;
  36. TCheckBox *CBTex0;
  37. TCheckBox *CBTex1;
  38. TCheckBox *CBTex2;
  39. TCheckBox *CBTex3;
  40. TPanel *Panel1;
  41. TMemo *MECombiner;
  42. TGLScene *GLScene;
  43. TGLDummyCube *GLDummyCube;
  44. TGLHUDSprite *GLHUDSprite;
  45. TGLCamera *GLCamera;
  46. TGLMaterialLibrary *GLMaterialLibrary;
  47. TGLTexCombineShader *GLTexCombineShader;
  48. TColorDialog *ColorDialog;
  49. TShape *Shape1;
  50. void __fastcall FormCreate(TObject *Sender);
  51. void __fastcall BUApplyClick(TObject *Sender);
  52. void __fastcall SceneViewerPostRender(TObject *Sender);
  53. void __fastcall Shape1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  54. void __fastcall CBTex0Click(TObject *Sender);
  55. private: // User declarations
  56. TFileName PathToData;
  57. public: // User declarations
  58. __fastcall TFormCombine(TComponent* Owner);
  59. };
  60. //---------------------------------------------------------------------------
  61. extern PACKAGE TFormCombine *FormCombine;
  62. //---------------------------------------------------------------------------
  63. #endif