2 #ifndef ROOT_GRootGuiFactory
3 #define ROOT_GRootGuiFactory
16 #ifndef ROOT_TGuiFactory
17 #include "TGuiFactory.h"
20 class TApplicationImp;
23 class TContextMenuImp;
34 GRootGuiFactory(
const char *name =
"Root",
const char *title =
"GRUT GUI Factory");
39 virtual TCanvasImp *
CreateCanvasImp(TCanvas *c,
const char *title, UInt_t width, UInt_t height);
40 virtual TCanvasImp *
CreateCanvasImp(TCanvas *c,
const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
42 virtual TBrowserImp *
CreateBrowserImp(TBrowser *b,
const char *title, UInt_t width, UInt_t height, Option_t *opt=
"");
43 virtual TBrowserImp *
CreateBrowserImp(TBrowser *b,
const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt=
"");
45 virtual TContextMenuImp *
CreateContextMenuImp(TContextMenu *c,
const char *name,
const char *title);
48 virtual TControlBarImp *
CreateControlBarImp(TControlBar *c,
const char *title, Int_t x, Int_t y);