13 #ifndef ROOT_TRootGuiFactory
14 #define ROOT_TRootGuiFactory
27 class TApplicationImp;
30 class TContextMenuImp;
36 class TRootGuiFactory :
public TGuiFactory {
39 TRootGuiFactory(
const char *name =
"Root",
const char *title =
"ROOT GUI Factory");
40 virtual ~TRootGuiFactory() { }
42 virtual TApplicationImp *CreateApplicationImp(
const char *classname,
int *argc,
char **argv);
44 virtual TCanvasImp *CreateCanvasImp(TCanvas *c,
const char *title, UInt_t width, UInt_t height);
45 virtual TCanvasImp *CreateCanvasImp(TCanvas *c,
const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
47 virtual TBrowserImp *CreateBrowserImp(TBrowser *b,
const char *title, UInt_t width, UInt_t height, Option_t *opt=
"");
48 virtual TBrowserImp *CreateBrowserImp(TBrowser *b,
const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt=
"");
50 virtual TContextMenuImp *CreateContextMenuImp(TContextMenu *c,
const char *name,
const char *title);
52 virtual TControlBarImp *CreateControlBarImp(TControlBar *c,
const char *title);
53 virtual TControlBarImp *CreateControlBarImp(TControlBar *c,
const char *title, Int_t x, Int_t y);
55 ClassDef(TRootGuiFactory,0)