File indexing completed on 2025-07-05 09:09:44
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_TWebControlBar
0012 #define ROOT_TWebControlBar
0013
0014 #include "TControlBarImp.h"
0015
0016 #include <ROOT/RWebWindow.hxx>
0017
0018 class TWebControlBar : public TControlBarImp {
0019
0020 protected:
0021
0022 std::shared_ptr<ROOT::RWebWindow> fWindow;
0023
0024 void SendInitMsg(unsigned connid);
0025 Bool_t ProcessData(unsigned connid, const std::string &arg);
0026
0027 public:
0028 TWebControlBar(TControlBar *bar, const char *title, Int_t x, Int_t y);
0029 ~TWebControlBar() override = default;
0030
0031 void Create() override { }
0032 void Hide() override;
0033 void Show() override;
0034 void SetFont(const char * ) override { }
0035 void SetTextColor(const char * ) override { }
0036 void SetButtonState(const char * , Int_t ) override { }
0037 void SetButtonWidth(UInt_t ) override { }
0038
0039 static TControlBarImp *NewControlBar(TControlBar *bar, const char *title, Int_t x, Int_t y);
0040
0041 ClassDefOverride(TWebControlBar, 0)
0042 };
0043
0044 #endif