//--------------------------------------------------------------------------- #ifndef FrmCameraScreenFH #define FrmCameraScreenFH //--------------------------------------------------------------------------- #include #include #include #include #include //--------------------------------------------------------------------------- #include "FrmCameraPlayerF.h" #include "CDSMonitoringObjF.h" #include "FFBaseComponent.hpp" #include "FFLog.hpp" typedef struct { int screenCnt; struct { bool show; bool installed; String CTLR_NMBR; TFrmCameraPlayer *frmCam; } info[MAX_CAMERA_PER_SCREEM]; } SCREEN_FORM; class TFrmCameraScreen : public TForm { __published: // IDE-managed Components TPanel *PnlCamera; TTimer *TmrFullScreen; TTimer *TmrStop; TMemo *mmLog; 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 CommClose(); 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