VMSWCAM0_OLDF.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. //---------------------------------------------------------------------------
  2. #ifndef VMSWCAM0_OLDFH
  3. #define VMSWCAM0_OLDFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <Provider.hpp>
  12. //---------------------------------------------------------------------------
  13. #include <ExtCtrls.hpp>
  14. #include <Graphics.hpp>
  15. #include <jpeg.hpp>
  16. #include <Menus.hpp>
  17. #include <GIFImg.hpp>
  18. #include <OleCtrls.hpp>
  19. #include "cxContainer.hpp"
  20. #include "cxControls.hpp"
  21. #include "cxEdit.hpp"
  22. #include "cxGraphics.hpp"
  23. #include "cxGroupBox.hpp"
  24. #include "cxLookAndFeelPainters.hpp"
  25. #include "cxLookAndFeels.hpp"
  26. #include "dxSkinBlack.hpp"
  27. #include "dxSkinMcSkin.hpp"
  28. #include "dxSkinsCore.hpp"
  29. #include "ITSVmsDispF.h"
  30. #include "dxSkinBlue.hpp"
  31. #include "dxSkinCaramel.hpp"
  32. #include "dxSkinCoffee.hpp"
  33. #include "dxSkinDarkRoom.hpp"
  34. #include "dxSkinDarkSide.hpp"
  35. #include "dxSkinFoggy.hpp"
  36. #include "dxSkinGlassOceans.hpp"
  37. #include "dxSkiniMaginary.hpp"
  38. #include "dxSkinLilian.hpp"
  39. #include "dxSkinLiquidSky.hpp"
  40. #include "dxSkinLondonLiquidSky.hpp"
  41. #include "dxSkinMoneyTwins.hpp"
  42. #include "dxSkinOffice2007Black.hpp"
  43. #include "dxSkinOffice2007Blue.hpp"
  44. #include "dxSkinOffice2007Green.hpp"
  45. #include "dxSkinOffice2007Pink.hpp"
  46. #include "dxSkinOffice2007Silver.hpp"
  47. #include "dxSkinOffice2010Black.hpp"
  48. #include "dxSkinOffice2010Blue.hpp"
  49. #include "dxSkinOffice2010Silver.hpp"
  50. #include "dxSkinSeven.hpp"
  51. #include "dxSkinSharp.hpp"
  52. #include "dxSkinSilver.hpp"
  53. #include "dxSkinStardust.hpp"
  54. //---------------------------------------------------------------------------
  55. #include "CDSVmsCtlrF.h"
  56. #include "AXVLC_TLB.hpp"
  57. //---------------------------------------------------------------------------
  58. class TVMSWCAM0_OLD : public TForm
  59. {
  60. __published: // IDE-managed Components
  61. TPopupMenu *PopupMenu1;
  62. TMenuItem *MnuPlay;
  63. TMenuItem *MnuStop;
  64. TMenuItem *MnuCtlrPing;
  65. TMenuItem *N1;
  66. TTimer *TmrShow;
  67. TTimer *TmrPlay;
  68. TPanel *PnlMain;
  69. TPanel *PnlTitle;
  70. TPanel *PnlBottom;
  71. TPanel *PnlDoor;
  72. TPanel *PnlFan;
  73. TPanel *PnlHeater;
  74. TPanel *PnlModule;
  75. TPanel *PnlPower;
  76. TPanel *PnlOprMode;
  77. TPanel *PnFormBack;
  78. TPanel *PnlName;
  79. TImage *ImgCommError;
  80. TPanel *PnlForm;
  81. TPanel *PnlComm;
  82. TMenuItem *MnuVmsInfId;
  83. TMenuItem *N2;
  84. TMenuItem *MnuWebcamPing;
  85. TPanel *PnlTemp;
  86. TVLCPlugin2 *VLCPlugin21;
  87. TPanel *PnlStatus;
  88. TPanel *PnlMsg;
  89. TTimer *TmrStop;
  90. TPanel *PnlSeq;
  91. TImage *ImgCommNormal;
  92. TImage *ImgState0;
  93. TImage *ImgState1;
  94. TImage *ImgState2;
  95. void __fastcall FormDestroy(TObject *Sender);
  96. void __fastcall FormShow(TObject *Sender);
  97. void __fastcall MnuNetworkPingClick(TObject *Sender);
  98. void __fastcall TmrShowTimer(TObject *Sender);
  99. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  100. void __fastcall PnlNameClick(TObject *Sender);
  101. void __fastcall OnFormClick(TObject *Sender);
  102. void __fastcall PopupMenu1Popup(TObject *Sender);
  103. void __fastcall VLCPlugin21MediaPlayerBuffering(TObject *ASender, int cache);
  104. void __fastcall VLCPlugin21MediaPlayerTimeChanged(TObject *ASender, int Time);
  105. void __fastcall VLCPlugin21MediaPlayerOpening(TObject *Sender);
  106. void __fastcall VLCPlugin21MediaPlayerPaused(TObject *Sender);
  107. void __fastcall VLCPlugin21MediaPlayerPlaying(TObject *Sender);
  108. void __fastcall VLCPlugin21MediaPlayerStopped(TObject *Sender);
  109. void __fastcall VLCPlugin21play(TObject *Sender);
  110. void __fastcall VLCPlugin21stop(TObject *Sender);
  111. void __fastcall MnuPlayClick(TObject *Sender);
  112. void __fastcall MnuStopClick(TObject *Sender);
  113. void __fastcall TmrPlayTimer(TObject *Sender);
  114. void __fastcall TmrStopTimer(TObject *Sender);
  115. private: // User declarations
  116. bool FSelected;
  117. int FDisplayMode;
  118. float FZoomRate;
  119. int FDispIndex;
  120. bool FPlay;
  121. int FGapH, FGapW;
  122. public:
  123. TScrollBox *FScrollBox;
  124. TVmsCtlr *FVmsObj;
  125. bool FZoomView;
  126. HWND FWndParent;
  127. float FDispW, FDispH;
  128. String FStrmAddr;
  129. String FId;
  130. String FLoc;
  131. String FProg;
  132. public: // User declarations
  133. __fastcall TVMSWCAM0_OLD(TComponent* Owner, TVmsCtlr *AVmsObj);
  134. void __fastcall LoadLocalSkin();
  135. void __fastcall SetFormSize(int AFormW);
  136. void __fastcall RefreshVmsStatus();
  137. void __fastcall RefreshVmsMessage();
  138. void __fastcall CamPlay();
  139. void __fastcall CamStop();
  140. void __fastcall SelectForm(bool ASelect);
  141. void __fastcall SetPlay(bool APlay);
  142. __property bool Selected = { read = FSelected, write = SelectForm };
  143. __property bool Play = { read = FPlay, write = SetPlay };
  144. };
  145. //---------------------------------------------------------------------------
  146. //extern PACKAGE TVMSWCAM0 *VMSWCAM0;
  147. //---------------------------------------------------------------------------
  148. #endif