123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- //---------------------------------------------------------------------------
- #ifndef VMSWCAM0_OLDFH
- #define VMSWCAM0_OLDFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <Provider.hpp>
- //---------------------------------------------------------------------------
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <jpeg.hpp>
- #include <Menus.hpp>
- #include <GIFImg.hpp>
- #include <OleCtrls.hpp>
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxGroupBox.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinMcSkin.hpp"
- #include "dxSkinsCore.hpp"
- #include "ITSVmsDispF.h"
- #include "dxSkinBlue.hpp"
- #include "dxSkinCaramel.hpp"
- #include "dxSkinCoffee.hpp"
- #include "dxSkinDarkRoom.hpp"
- #include "dxSkinDarkSide.hpp"
- #include "dxSkinFoggy.hpp"
- #include "dxSkinGlassOceans.hpp"
- #include "dxSkiniMaginary.hpp"
- #include "dxSkinLilian.hpp"
- #include "dxSkinLiquidSky.hpp"
- #include "dxSkinLondonLiquidSky.hpp"
- #include "dxSkinMoneyTwins.hpp"
- #include "dxSkinOffice2007Black.hpp"
- #include "dxSkinOffice2007Blue.hpp"
- #include "dxSkinOffice2007Green.hpp"
- #include "dxSkinOffice2007Pink.hpp"
- #include "dxSkinOffice2007Silver.hpp"
- #include "dxSkinOffice2010Black.hpp"
- #include "dxSkinOffice2010Blue.hpp"
- #include "dxSkinOffice2010Silver.hpp"
- #include "dxSkinSeven.hpp"
- #include "dxSkinSharp.hpp"
- #include "dxSkinSilver.hpp"
- #include "dxSkinStardust.hpp"
- //---------------------------------------------------------------------------
- #include "CDSVmsCtlrF.h"
- #include "AXVLC_TLB.hpp"
- //---------------------------------------------------------------------------
- class TVMSWCAM0_OLD : public TForm
- {
- __published: // IDE-managed Components
- TPopupMenu *PopupMenu1;
- TMenuItem *MnuPlay;
- TMenuItem *MnuStop;
- TMenuItem *MnuCtlrPing;
- TMenuItem *N1;
- TTimer *TmrShow;
- TTimer *TmrPlay;
- TPanel *PnlMain;
- TPanel *PnlTitle;
- TPanel *PnlBottom;
- TPanel *PnlDoor;
- TPanel *PnlFan;
- TPanel *PnlHeater;
- TPanel *PnlModule;
- TPanel *PnlPower;
- TPanel *PnlOprMode;
- TPanel *PnFormBack;
- TPanel *PnlName;
- TImage *ImgCommError;
- TPanel *PnlForm;
- TPanel *PnlComm;
- TMenuItem *MnuVmsInfId;
- TMenuItem *N2;
- TMenuItem *MnuWebcamPing;
- TPanel *PnlTemp;
- TVLCPlugin2 *VLCPlugin21;
- TPanel *PnlStatus;
- TPanel *PnlMsg;
- TTimer *TmrStop;
- TPanel *PnlSeq;
- TImage *ImgCommNormal;
- TImage *ImgState0;
- TImage *ImgState1;
- TImage *ImgState2;
- void __fastcall FormDestroy(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall MnuNetworkPingClick(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall PnlNameClick(TObject *Sender);
- void __fastcall OnFormClick(TObject *Sender);
- void __fastcall PopupMenu1Popup(TObject *Sender);
- void __fastcall VLCPlugin21MediaPlayerBuffering(TObject *ASender, int cache);
- void __fastcall VLCPlugin21MediaPlayerTimeChanged(TObject *ASender, int Time);
- void __fastcall VLCPlugin21MediaPlayerOpening(TObject *Sender);
- void __fastcall VLCPlugin21MediaPlayerPaused(TObject *Sender);
- void __fastcall VLCPlugin21MediaPlayerPlaying(TObject *Sender);
- void __fastcall VLCPlugin21MediaPlayerStopped(TObject *Sender);
- void __fastcall VLCPlugin21play(TObject *Sender);
- void __fastcall VLCPlugin21stop(TObject *Sender);
- void __fastcall MnuPlayClick(TObject *Sender);
- void __fastcall MnuStopClick(TObject *Sender);
- void __fastcall TmrPlayTimer(TObject *Sender);
- void __fastcall TmrStopTimer(TObject *Sender);
- private: // User declarations
- bool FSelected;
- int FDisplayMode;
- float FZoomRate;
- int FDispIndex;
- bool FPlay;
- int FGapH, FGapW;
- public:
- TScrollBox *FScrollBox;
- TVmsCtlr *FVmsObj;
- bool FZoomView;
- HWND FWndParent;
- float FDispW, FDispH;
- String FStrmAddr;
- String FId;
- String FLoc;
- String FProg;
- public: // User declarations
- __fastcall TVMSWCAM0_OLD(TComponent* Owner, TVmsCtlr *AVmsObj);
- void __fastcall LoadLocalSkin();
- void __fastcall SetFormSize(int AFormW);
- void __fastcall RefreshVmsStatus();
- void __fastcall RefreshVmsMessage();
- void __fastcall CamPlay();
- void __fastcall CamStop();
- void __fastcall SelectForm(bool ASelect);
- void __fastcall SetPlay(bool APlay);
- __property bool Selected = { read = FSelected, write = SelectForm };
- __property bool Play = { read = FPlay, write = SetPlay };
- };
- //---------------------------------------------------------------------------
- //extern PACKAGE TVMSWCAM0 *VMSWCAM0;
- //---------------------------------------------------------------------------
- #endif
|