Warning, file /include/root/TGuiFactory.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef ROOT_TGuiFactory
0014 #define ROOT_TGuiFactory
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 #include "TNamed.h"
0029
0030 class TApplicationImp;
0031 class TCanvasImp;
0032 class TCanvas;
0033 class TBrowserImp;
0034 class TBrowser;
0035 class TContextMenuImp;
0036 class TContextMenu;
0037 class TControlBarImp;
0038 class TControlBar;
0039 class TInspectorImp;
0040
0041
0042 class TGuiFactory : public TNamed {
0043
0044 public:
0045 TGuiFactory(const char *name = "Batch", const char *title = "Batch GUI Factory");
0046 virtual ~TGuiFactory() { }
0047
0048 virtual TApplicationImp *CreateApplicationImp(const char *classname, int *argc, char **argv);
0049
0050 virtual TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height);
0051 virtual TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
0052
0053 virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="");
0054 virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="");
0055
0056 virtual TContextMenuImp *CreateContextMenuImp(TContextMenu *c, const char *name, const char *title);
0057
0058 virtual TControlBarImp *CreateControlBarImp(TControlBar *c, const char *title);
0059 virtual TControlBarImp *CreateControlBarImp(TControlBar *c, const char *title, Int_t x, Int_t y);
0060
0061 virtual TInspectorImp *CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height);
0062
0063 ClassDefOverride(TGuiFactory,0)
0064 };
0065
0066 R__EXTERN TGuiFactory *gGuiFactory;
0067 R__EXTERN TGuiFactory *gBatchGuiFactory;
0068
0069 #endif