12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //---------------------------------------------------------------------------
- #ifndef FrmCameraScreenFH
- #define FrmCameraScreenFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- //---------------------------------------------------------------------------
- #include "FrmCameraPlayerF.h"
- #include "CDSMonitoringObjF.h"
- typedef struct
- {
- int screenCnt;
- struct
- {
- bool show;
- bool installed;
- String CCAM_ID;
- TFrmCameraPlayer *frmCam;
- } info[MAX_CAMERA_PER_SCREEM];
- } SCREEN_FORM;
- class TFrmCameraScreen : public TForm
- {
- __published: // IDE-managed Components
- TPanel *PnlCamera;
- TTimer *TmrFullScreen;
- TTimer *TmrStop;
- void __fastcall TmrFullScreenTimer(TObject *Sender);
- void __fastcall TmrStopTimer(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TFrmCameraScreen(TComponent* Owner);
- public:
- String FTitle;
- int FCols, FRows;
- int FLayout;
- int FScreenCnt;
- int FFullScreenIdx;
- SCREEN_FORM screeForm;
- void __fastcall SetLayout(int ALayout);
- void __fastcall ResetScreenForm(String AScreenName);
- void __fastcall RecalFormSize();
- void __fastcall Play();
- void __fastcall Stop();
- __property int Layout = { read=FLayout, write=SetLayout };
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmCameraScreen *FrmCameraScreen;
- //---------------------------------------------------------------------------
- #endif
|