//--------------------------------------------------------------------------- #ifndef FrmVmsCamViewerFH #define FrmVmsCamViewerFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include "AppGlobalF.h" #include "cxButtons.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxPC.hpp" #include "cxPCdxBarPopupMenu.hpp" #include "cxProgressBar.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsForm.hpp" #include "dxSkinBlack.hpp" //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- class TFrmVmsCamViewer : public TForm//TdxCustomRibbonForm//TForm { __published: // IDE-managed Components TPanel *PnlBack; TcxPageControl *PgCamera; TcxTabSheet *TsList01; TApplicationEvents *ApplicationEvents1; TcxButton *BtnMonitoringMngr; TEdit *EdFocus; TPanel *PnlProgress; TcxProgressBar *PbLoadMap; TXMLDocument *XMLDocument1; TdxSkinController *dxSkinController1; void __fastcall FormCreate(TObject *Sender); void __fastcall FormShow(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall ApplicationEvents1Minimize(TObject *Sender); void __fastcall ApplicationEvents1Restore(TObject *Sender); void __fastcall FormResize(TObject *Sender); void __fastcall BtnMonitoringMngrClick(TObject *Sender); void __fastcall PgCameraPageChanging(TObject *Sender, TcxTabSheet *NewPage, bool &AllowChange); private: // User declarations public: void __fastcall SetColorScheme(String ASkinName); void __fastcall InitMonitoringForm(); void __fastcall CreateMonitoringScreen(); void __fastcall RecalFormSize(); void __fastcall FillCameraList(); void __fastcall CreateViewList(); void __fastcall SaveViewList(); void __fastcall UpdateCctvMasger(); int FMonitoringType; bool IsFormResizing; int FOldWidth, FOldHeight; TcxTabSheet *FCurrPage; public: // User declarations __fastcall TFrmVmsCamViewer(TComponent* Owner); void __fastcall CommClose(); void __fastcall FormInit(); void __fastcall WMEnterSizeMove(TMessage &Msg); void __fastcall WMExitSizeMove(TMessage &Msg); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_ENTERSIZEMOVE, TMessage, WMEnterSizeMove) MESSAGE_HANDLER(WM_EXITSIZEMOVE, TMessage, WMExitSizeMove) END_MESSAGE_MAP(TForm) }; //--------------------------------------------------------------------------- extern PACKAGE TFrmVmsCamViewer *FrmVmsCamViewer; //--------------------------------------------------------------------------- #endif