#ifndef ROOT_TRootControlBar #define ROOT_TRootControlBar //+SEQ,CopyRight,T=NOINCLUDE. ////////////////////////////////////////////////////////////////////////// // // // TRootControlBar // // // // This class provides an interface to the GUI dependent functions of // // the TControlBar class. A control bar is a horizontal or vertical bar // // with a number of buttons (text or picture buttons). // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TControlBarImp //*KEEP,TControlBarImp,T=C++. #include "TControlBarImp.h" //*KEND. #endif #ifndef ROOT_TGFrame //*KEEP,TGFrame. #include "TGFrame.h" //*KEND. #endif class TControlBar; class TList; class TRootControlBar : public TGMainFrame, public TControlBarImp { private: TList *fWidgets; // list of TGTextButton or TGPictureButtons TGLayoutHints *fL1; // button layout hints public: TRootControlBar(TControlBar *c, const char *title, Int_t x = -999, Int_t y = -999); virtual ~TRootControlBar(); void Create(); void Hide(); void Show(); Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); void CloseWindow(); ClassDef(TRootControlBar,0) //ROOT native GUI implementation of TControlBar }; #endif