File indexing completed on 2025-01-18 10:10:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef ROOT7_RWebBrowserImp
0014 #define ROOT7_RWebBrowserImp
0015
0016 #include "TBrowserImp.h"
0017
0018 #include "ROOT/RBrowser.hxx"
0019
0020 namespace ROOT {
0021
0022 class RWebBrowserImp : public TBrowserImp {
0023
0024 std::shared_ptr<RBrowser> fWebBrowser;
0025 Int_t fX{-1}, fY{-1}, fWidth{0}, fHeight{0};
0026
0027 void ShowWarning();
0028
0029 public:
0030 RWebBrowserImp(TBrowser *b = nullptr);
0031 RWebBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt = "");
0032 RWebBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt = "");
0033 virtual ~RWebBrowserImp();
0034
0035 void Iconify() final;
0036 void Refresh(Bool_t = kFALSE) final;
0037 void Show() final;
0038 void BrowseObj(TObject *) final;
0039
0040 static TBrowserImp *NewBrowser(TBrowser *b = nullptr, const char *title = "ROOT Browser", UInt_t width = 800, UInt_t height = 500, Option_t *opt = "");
0041 static TBrowserImp *NewBrowser(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt = "");
0042
0043 ClassDefOverride(RWebBrowserImp,0)
0044 };
0045
0046 }
0047
0048 #endif