File indexing completed on 2025-01-18 10:11:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TControlBarImp
0013 #define ROOT_TControlBarImp
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "Rtypes.h"
0025
0026
0027 class TControlBar;
0028 class TControlBarButton;
0029
0030 class TControlBarImp {
0031
0032 protected:
0033 TControlBar *fControlBar;
0034 Int_t fXpos;
0035 Int_t fYpos;
0036 TControlBarButton *fClicked;
0037
0038 public:
0039 TControlBarImp(TControlBar *c, const char * = "") : fControlBar(c), fXpos(0), fYpos(0), fClicked(nullptr) { }
0040 TControlBarImp(TControlBar *c, const char *, Int_t, Int_t) : fControlBar(c), fXpos(0), fYpos(0), fClicked(nullptr) { }
0041 virtual ~TControlBarImp() { }
0042
0043 virtual TControlBar *GetControlBar() { return fControlBar; }
0044 virtual TControlBarButton *GetClicked() { return fClicked; }
0045
0046 virtual void Create() { }
0047 virtual void Hide() { }
0048 virtual void Show() { }
0049 virtual void SetFont(const char * ) { }
0050 virtual void SetTextColor(const char * ) { }
0051 virtual void SetButtonState(const char * , Int_t ) { }
0052 virtual void SetButtonWidth(UInt_t ) { }
0053
0054 ClassDef(TControlBarImp,0)
0055 };
0056
0057 #endif