Skip to content

Commit d42ca49

Browse files
From Bertrand:
merged bertrand dev branch changes r20120:20514 into the trunk. Main new feature is the new TBrowser. To turn it on by default change the Browser.Name option in rootrc. Here the detailed ChangeLog: - Renamed TRootBrowser TRootBrowserLite - Introduced the new class TRootBrowser, consisting of three main tabs, as shown below: ______________ | | | | | | | |__________| | | | |___|__________| All tabs can 'swallow' frames, thanks to the new method: ExecPlugin(const char *name = 0, const char *fname = 0, const char *cmd = 0, Int_t pos = kRight, Int_t subpos = -1) allowing to select plugins (can be a macro or a command) to be executed, and where to embed the frame created by the plugin. Examples: // create a new browser: TBrowser b; // create a new TCanvas in a new top right tab element: b.ExecPlugin("Canvas", 0, "new TCanvas()"); // creates a new top right tab element embedding the // TGMainFrame created by the macro 'myMacro.C': b.ExecPlugin("MyPlugin", "myMacro.C"); // creates a new bottom tab element embedding the // TGMainFrame created by the macro 'myMacro.C': b.ExecPlugin("MyPlugin", "myMacro.C", 0, TRootBrowser::kBottom); - new class TGFileBrowser, a file browser plugin for the new TRootBrowser - new class TGCommandPlugin, a command I/O plugin for the new TRootBrowser - new class TGHtmlBrowser, a html browser plugin for the new TRootBrowser - new TBrowserImp plugin used to load the selected TBrowser implementation - the browser implementation can be selected via the env 'Browser.Name' in .rootrc, (can be TRootBrowser or TRootBrowserLite) the default being TRootBrowserLite - a list of options (plugins) for the new TRootBrowser is also specified via the env 'Browser.Options' in .rootrc, default being: FEHCI Here is the list of available options: F: File browser E: Text Editor H: HTML browser C: Canvas I: I/O redirection P: Proof G: GL viewer - modified TRootGuiFactory, used to create the real TBrowser implementation. git-svn-id: http://root.cern.ch/svn/root/trunk@20516 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 455f80e commit d42ca49

28 files changed

+6181
-3031
lines changed

base/inc/TBrowser.h

+18-9
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ class TBrowser : public TNamed {
5757
kNoHidden = BIT(9) // don't show '.' files and directories
5858
};
5959

60-
TBrowser(const char *name="Browser", const char *title="ROOT Object Browser", TBrowserImp *extimp=0);
61-
TBrowser(const char *name, const char *title, UInt_t width, UInt_t height, TBrowserImp *extimp=0);
62-
TBrowser(const char *name, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, TBrowserImp *extimp=0);
60+
TBrowser(const char *name="Browser", const char *title="ROOT Object Browser", TBrowserImp *extimp=0, Option_t *opt="");
61+
TBrowser(const char *name, const char *title, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="");
62+
TBrowser(const char *name, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, TBrowserImp *extimp=0, Option_t *opt="");
6363

64-
TBrowser(const char *name, TObject *obj, const char *title="ROOT Object Browser");
65-
TBrowser(const char *name, TObject *obj, const char *title, UInt_t width, UInt_t height);
66-
TBrowser(const char *name, TObject *obj, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
64+
TBrowser(const char *name, TObject *obj, const char *title="ROOT Object Browser", Option_t *opt="");
65+
TBrowser(const char *name, TObject *obj, const char *title, UInt_t width, UInt_t height, Option_t *opt="");
66+
TBrowser(const char *name, TObject *obj, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="");
6767

68-
TBrowser(const char *name, void *obj, TClass *cl, const char *objname="", const char *title="ROOT Foreign Browser");
69-
TBrowser(const char *name, void *obj, TClass *cl, const char *objname, const char *title, UInt_t width, UInt_t height);
70-
TBrowser(const char *name, void *obj, TClass *cl, const char *objname, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
68+
TBrowser(const char *name, void *obj, TClass *cl, const char *objname="", const char *title="ROOT Foreign Browser", Option_t *opt="");
69+
TBrowser(const char *name, void *obj, TClass *cl, const char *objname, const char *title, UInt_t width, UInt_t height, Option_t *opt="");
70+
TBrowser(const char *name, void *obj, TClass *cl, const char *objname, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="");
7171

7272
// In a world with only standard C++ compliant compilers, we could also add:
7373
// template <class T> TBrowser(const char *name, T *obj, const char *objname="", const char *title="ROOT Foreign Browser") :
@@ -105,6 +105,15 @@ class TBrowser : public TNamed {
105105
void SetDrawOption(Option_t *option="") { fImp->SetDrawOption(option); }
106106
Option_t *GetDrawOption() const { return fImp->GetDrawOption(); }
107107

108+
Long_t ExecPlugin(const char *name = 0, const char *fname = 0,
109+
const char *cmd = 0, Int_t pos = 1, Int_t subpos = -1) {
110+
return fImp->ExecPlugin(name, fname, cmd, pos, subpos);
111+
}
112+
void StartEmbedding(Int_t pos, Int_t subpos) {
113+
fImp->StartEmbedding(pos, subpos);
114+
}
115+
void StopEmbedding(const char *name = "") { fImp->StopEmbedding(name); }
116+
108117
ClassDef(TBrowser,0) //ROOT Object Browser
109118
};
110119

base/inc/TBrowserImp.h

+20-16
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,37 @@ class TBrowserImp {
4242

4343
public:
4444
TBrowserImp(TBrowser *b=0) : fBrowser(b), fShowCycles(kFALSE) { }
45-
TBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height);
46-
TBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
45+
TBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt = "");
46+
TBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt = "");
4747
virtual ~TBrowserImp() { }
4848

49-
virtual void Add(TObject *, const char *, Int_t) { }
50-
virtual void AddCheckBox(TObject *, Bool_t = kFALSE) { }
51-
virtual void CheckObjectItem(TObject *, Bool_t = kFALSE) { }
52-
virtual void RemoveCheckBox(TObject *) { }
53-
virtual void BrowseObj(TObject *) { }
54-
TBrowser *Browser() const { return fBrowser; }
55-
virtual void ExecuteDefaultAction(TObject *) { }
56-
virtual void Iconify() { }
57-
virtual void RecursiveRemove(TObject *) { }
58-
virtual void Refresh(Bool_t = kFALSE) { }
59-
virtual void Show() { }
60-
virtual void SetDrawOption(Option_t *option="");
49+
virtual void Add(TObject *, const char *, Int_t) { }
50+
virtual void AddCheckBox(TObject *, Bool_t = kFALSE) { }
51+
virtual void CheckObjectItem(TObject *, Bool_t = kFALSE) { }
52+
virtual void RemoveCheckBox(TObject *) { }
53+
virtual void BrowseObj(TObject *) { }
54+
TBrowser *Browser() const { return fBrowser; }
55+
virtual void ExecuteDefaultAction(TObject *) { }
56+
virtual void Iconify() { }
57+
virtual void RecursiveRemove(TObject *) { }
58+
virtual void Refresh(Bool_t = kFALSE) { }
59+
virtual void Show() { }
60+
virtual void SetDrawOption(Option_t *option="");
6161
virtual Option_t *GetDrawOption() const { return 0; }
6262

63+
virtual Long_t ExecPlugin(const char *, const char *, const char *, Int_t, Int_t) { return 0; }
64+
virtual void StartEmbedding(Int_t, Int_t) { }
65+
virtual void StopEmbedding(const char *) { }
66+
6367
virtual TBrowser *GetBrowser() const { return fBrowser; }
6468
virtual void SetBrowser(TBrowser *b) { fBrowser = b; }
6569

6670
ClassDef(TBrowserImp,0) //ABC describing browser implementation protocol
6771
};
6872

69-
inline TBrowserImp::TBrowserImp(TBrowser *, const char *, UInt_t, UInt_t)
73+
inline TBrowserImp::TBrowserImp(TBrowser *, const char *, UInt_t, UInt_t, Option_t *)
7074
: fBrowser(0), fShowCycles(kFALSE) { }
71-
inline TBrowserImp::TBrowserImp(TBrowser *, const char *, Int_t, Int_t, UInt_t, UInt_t)
75+
inline TBrowserImp::TBrowserImp(TBrowser *, const char *, Int_t, Int_t, UInt_t, UInt_t, Option_t *)
7276
: fBrowser(0), fShowCycles(kFALSE) { }
7377

7478
#endif

base/inc/TGuiFactory.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class TGuiFactory : public TNamed {
5252
virtual TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height);
5353
virtual TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
5454

55-
virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height);
56-
virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height);
55+
virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="");
56+
virtual TBrowserImp *CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="");
5757

5858
virtual TContextMenuImp *CreateContextMenuImp(TContextMenu *c, const char *name, const char *title);
5959

base/src/TBrowser.cxx

+22-22
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ class TBrowserObject : public TNamed
8282
ClassImp(TBrowser)
8383

8484
//______________________________________________________________________________
85-
TBrowser::TBrowser(const char *name, const char *title, TBrowserImp *extimp)
86-
: TNamed(name, title), fLastSelectedObject(0), fImp(extimp), fTimer(0),
85+
TBrowser::TBrowser(const char *name, const char *title, TBrowserImp *extimp,
86+
Option_t *opt)
87+
: TNamed(name, title), fLastSelectedObject(0), fImp(extimp), fTimer(0),
8788
fContextMenu(0), fNeedRefresh(kFALSE)
8889
{
8990
// Create a new browser with a name, title. Width and height are by
@@ -100,14 +101,14 @@ TBrowser::TBrowser(const char *name, const char *title, TBrowserImp *extimp)
100101
Float_t cx = gStyle->GetScreenFactor();
101102
UInt_t w = UInt_t(cx*800);
102103
UInt_t h = UInt_t(cx*500);
103-
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, w, h);
104+
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, w, h, opt);
104105
Create();
105106
}
106107
}
107108

108109
//______________________________________________________________________________
109-
TBrowser::TBrowser(const char *name, const char *title,
110-
UInt_t width, UInt_t height, TBrowserImp *extimp)
110+
TBrowser::TBrowser(const char *name, const char *title, UInt_t width,
111+
UInt_t height, TBrowserImp *extimp, Option_t *opt)
111112
: TNamed(name, title), fLastSelectedObject(0), fImp(extimp), fTimer(0), fContextMenu(0),
112113
fNeedRefresh(kFALSE)
113114
{
@@ -116,14 +117,13 @@ TBrowser::TBrowser(const char *name, const char *title,
116117
// make sure that the Gpad and GUI libs are loaded
117118
TApplication::NeedGraphicsLibs();
118119
gApplication->InitializeGraphics();
119-
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, width, height);
120+
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, width, height, opt);
120121
Create();
121122
}
122123

123124
//______________________________________________________________________________
124-
TBrowser::TBrowser(const char *name, const char *title,
125-
Int_t x, Int_t y,
126-
UInt_t width, UInt_t height, TBrowserImp *extimp)
125+
TBrowser::TBrowser(const char *name, const char *title, Int_t x, Int_t y,
126+
UInt_t width, UInt_t height, TBrowserImp *extimp, Option_t *opt)
127127
: TNamed(name, title), fLastSelectedObject(0), fImp(extimp), fTimer(0), fContextMenu(0),
128128
fNeedRefresh(kFALSE)
129129
{
@@ -132,12 +132,12 @@ TBrowser::TBrowser(const char *name, const char *title,
132132
// make sure that the Gpad and GUI libs are loaded
133133
TApplication::NeedGraphicsLibs();
134134
gApplication->InitializeGraphics();
135-
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height);
135+
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height, opt);
136136
Create();
137137
}
138138

139139
//______________________________________________________________________________
140-
TBrowser::TBrowser(const char *name, TObject *obj, const char *title)
140+
TBrowser::TBrowser(const char *name, TObject *obj, const char *title, Option_t *opt)
141141
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
142142
fNeedRefresh(kFALSE)
143143
{
@@ -150,13 +150,13 @@ TBrowser::TBrowser(const char *name, TObject *obj, const char *title)
150150
UInt_t w = UInt_t(cx*800);
151151
UInt_t h = UInt_t(cx*500);
152152

153-
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, w, h);
153+
if (!fImp) fImp = gGuiFactory->CreateBrowserImp(this, title, w, h, opt);
154154
Create(obj);
155155
}
156156

157157
//______________________________________________________________________________
158158
TBrowser::TBrowser(const char *name, TObject *obj, const char *title,
159-
UInt_t width, UInt_t height)
159+
UInt_t width, UInt_t height, Option_t *opt)
160160
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
161161
fNeedRefresh(kFALSE)
162162
{
@@ -165,14 +165,14 @@ TBrowser::TBrowser(const char *name, TObject *obj, const char *title,
165165
// make sure that the Gpad and GUI libs are loaded
166166
TApplication::NeedGraphicsLibs();
167167
gApplication->InitializeGraphics();
168-
fImp = gGuiFactory->CreateBrowserImp(this, title, width, height);
168+
fImp = gGuiFactory->CreateBrowserImp(this, title, width, height, opt);
169169
Create(obj);
170170
}
171171

172172
//______________________________________________________________________________
173173
TBrowser::TBrowser(const char *name, TObject *obj, const char *title,
174174
Int_t x, Int_t y,
175-
UInt_t width, UInt_t height)
175+
UInt_t width, UInt_t height, Option_t *opt)
176176
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
177177
fNeedRefresh(kFALSE)
178178
{
@@ -181,13 +181,13 @@ TBrowser::TBrowser(const char *name, TObject *obj, const char *title,
181181
// make sure that the Gpad and GUI libs are loaded
182182
TApplication::NeedGraphicsLibs();
183183
gApplication->InitializeGraphics();
184-
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height);
184+
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height, opt);
185185
Create(obj);
186186
}
187187

188188
//______________________________________________________________________________
189189
TBrowser::TBrowser(const char *name, void *obj, TClass *cl,
190-
const char *objname, const char *title)
190+
const char *objname, const char *title, Option_t *opt)
191191
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
192192
fNeedRefresh(kFALSE)
193193
{
@@ -200,15 +200,15 @@ TBrowser::TBrowser(const char *name, void *obj, TClass *cl,
200200
UInt_t w = UInt_t(cx*800);
201201
UInt_t h = UInt_t(cx*500);
202202

203-
fImp = gGuiFactory->CreateBrowserImp(this, title, w, h);
203+
fImp = gGuiFactory->CreateBrowserImp(this, title, w, h, opt);
204204

205205
Create(new TBrowserObject(obj,cl,objname));
206206
}
207207

208208
//______________________________________________________________________________
209209
TBrowser::TBrowser(const char *name, void *obj, TClass *cl,
210210
const char *objname, const char *title,
211-
UInt_t width, UInt_t height)
211+
UInt_t width, UInt_t height, Option_t *opt)
212212
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
213213
fNeedRefresh(kFALSE)
214214
{
@@ -217,15 +217,15 @@ TBrowser::TBrowser(const char *name, void *obj, TClass *cl,
217217
// make sure that the Gpad and GUI libs are loaded
218218
TApplication::NeedGraphicsLibs();
219219
gApplication->InitializeGraphics();
220-
fImp = gGuiFactory->CreateBrowserImp(this, title, width, height);
220+
fImp = gGuiFactory->CreateBrowserImp(this, title, width, height, opt);
221221
Create(new TBrowserObject(obj,cl,objname));
222222
}
223223

224224
//______________________________________________________________________________
225225
TBrowser::TBrowser(const char *name,void *obj, TClass *cl,
226226
const char *objname, const char *title,
227227
Int_t x, Int_t y,
228-
UInt_t width, UInt_t height)
228+
UInt_t width, UInt_t height, Option_t *opt)
229229
: TNamed(name, title), fLastSelectedObject(0), fTimer(0), fContextMenu(0),
230230
fNeedRefresh(kFALSE)
231231
{
@@ -234,7 +234,7 @@ TBrowser::TBrowser(const char *name,void *obj, TClass *cl,
234234
// make sure that the Gpad and GUI libs are loaded
235235
TApplication::NeedGraphicsLibs();
236236
gApplication->InitializeGraphics();
237-
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height);
237+
fImp = gGuiFactory->CreateBrowserImp(this, title, x, y, width, height, opt);
238238
Create(new TBrowserObject(obj,cl,objname));
239239
}
240240

base/src/TGuiFactory.cxx

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ TCanvasImp *TGuiFactory::CreateCanvasImp(TCanvas *c, const char *title, Int_t x,
6767
}
6868

6969
//______________________________________________________________________________
70-
TBrowserImp *TGuiFactory::CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height)
70+
TBrowserImp *TGuiFactory::CreateBrowserImp(TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt)
7171
{
7272
// Create a batch version of TBrowserImp.
7373

7474
return new TBrowserImp(b, title, width, height);
7575
}
7676

7777
//______________________________________________________________________________
78-
TBrowserImp *TGuiFactory::CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height)
78+
TBrowserImp *TGuiFactory::CreateBrowserImp(TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt)
7979
{
8080
// Create a batch version of TBrowserImp.
8181

config/rootrc.in

+5
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ Gui.IconPath: $(HOME)/icons:@iconpath@:.
176176
Gui.MimeTypeFile: $(HOME)/.root.mimes
177177
# If above does not exists defaults to this:
178178
#Gui.MimeTypeFile: @etcdir@/root.mimes
179+
Browser.Name: TRootBrowserLite
180+
# Browser Options (plugins)
181+
# F: File browser E: Text Editor H: HTML browser
182+
# C: Canvas I: I/O redirection P: Proof G: GL viewer
183+
Browser.Options: FECI
179184
# Can be either small, big, list, details
180185
Browser.IconStyle: small
181186
# Can be either name, type, size, date
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
void P010_TRootBrowser()
2+
{
3+
gPluginMgr->AddHandler("TBrowserImp", "TRootBrowser", "TRootBrowser",
4+
"Gui", "NewBrowser(TBrowser *, const char *, Int_t, Int_t, UInt_t, UInt_t)");
5+
gPluginMgr->AddHandler("TBrowserImp", "TRootBrowser", "TRootBrowser",
6+
"Gui", "NewBrowser(TBrowser *, const char *, UInt_t, UInt_t)");
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
void P020_TRootBrowserLite()
2+
{
3+
gPluginMgr->AddHandler("TBrowserImp", "TRootBrowserLite", "TRootBrowserLite",
4+
"Gui", "NewBrowser(TBrowser *, const char *, Int_t, Int_t, UInt_t, UInt_t)");
5+
gPluginMgr->AddHandler("TBrowserImp", "TRootBrowserLite", "TRootBrowserLite",
6+
"Gui", "NewBrowser(TBrowser *, const char *, UInt_t, UInt_t)");
7+
}

geom/src/TGeoManager.cxx

+3-1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@
443443
#include "TVirtualGeoTrack.h"
444444
#include "TQObject.h"
445445
#include "TMath.h"
446+
#include "TEnv.h"
446447

447448
// statics and globals
448449

@@ -942,7 +943,8 @@ void TGeoManager::Browse(TBrowser *b)
942943
if (fMasterVolume) b->Add(fMasterVolume, "Master Volume", fMasterVolume->IsVisible());
943944
if (fTopVolume) b->Add(fTopVolume, "Top Volume", fTopVolume->IsVisible());
944945
if (fTopNode) b->Add(fTopNode);
945-
TQObject::Connect("TRootBrowser", "Checked(TObject*,Bool_t)",
946+
TString browserImp(gEnv->GetValue("Browser.Name", "TRootBrowserLite"));
947+
TQObject::Connect(browserImp.Data(), "Checked(TObject*,Bool_t)",
946948
"TGeoManager", this, "SetVisibility(TObject*,Bool_t)");
947949
}
948950

gui/Module.mk

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ GUIH2 := TGObject.h TGScrollBar.h TGCanvas.h TGListBox.h TGComboBox.h \
4040
TGFSComboBox.h TGImageMap.h TGApplication.h TGXYLayout.h \
4141
TGResourcePool.h TGFont.h TGTripleSlider.h
4242
GUIH3 := TRootGuiFactory.h TRootApplication.h TRootCanvas.h \
43-
TRootBrowser.h TRootContextMenu.h TRootDialog.h \
43+
TRootBrowserLite.h TRootContextMenu.h TRootDialog.h \
4444
TRootControlBar.h TRootHelpDialog.h TRootEmbeddedCanvas.h \
4545
TGColorDialog.h TGColorSelect.h TGFontDialog.h \
4646
TGDockableFrame.h TGMdi.h TGMdiFrame.h TGMdiMainFrame.h \
4747
TGMdiDecorFrame.h TGMdiMenu.h TVirtualDragManager.h \
4848
TGuiBuilder.h TGRedirectOutputGuard.h TGPasswdDialog.h \
49-
TGTextEditor.h TGSpeedo.h TGDNDManager.h
49+
TGTextEditor.h TGSpeedo.h TGDNDManager.h TGCommandPlugin.h \
50+
TGFileBrowser.h TRootBrowser.h
5051

5152
GUIH4 := HelpText.h
5253
GUIH1 := $(patsubst %,$(MODDIRI)/%,$(GUIH1))

gui/inc/LinkDef3.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#pragma link C++ class TRootApplication;
3535
#pragma link C++ class TRootCanvas;
3636
#pragma link C++ class TRootEmbeddedCanvas;
37-
#pragma link C++ class TRootBrowser;
37+
#pragma link C++ class TRootBrowserLite;
3838
#pragma link C++ class TRootContextMenu;
3939
#pragma link C++ class TRootDialog;
4040
#pragma link C++ class TRootControlBar;
@@ -78,4 +78,9 @@
7878
#pragma link C++ class TGDNDManager;
7979
#pragma link C++ class TGDragWindow;
8080

81+
#pragma link C++ class TGCommandPlugin;
82+
#pragma link C++ class TGFileBrowser;
83+
#pragma link C++ class TBrowserPlugin;
84+
#pragma link C++ class TRootBrowser;
85+
8186
#endif

0 commit comments

Comments
 (0)