16 #include "TGFileDialog.h" 19 #include "nutools/EventDisplayBase/JobMenu.h" 20 #include "nutools/EventDisplayBase/evdb.h" 21 #include "nutools/EventDisplayBase/EventDisplay.h" 41 fJobMenu =
new TGPopupMenu(gClient->GetRoot());
42 fLayout =
new TGLayoutHints(kLHintsTop | kLHintsLeft, 0, 4, 0, 0);
58 fJobMenu->Connect(
"Activated(Int_t)",
64 menubar->AddPopup(
"&Job",
fJobMenu,fLayout);
83 for (
unsigned int i=0;;++i) {
90 for (
unsigned int i=0; i<w.size(); ++i) {
100 for (
unsigned int i=0;;++i) {
107 for (
unsigned int i=0; i<w.size(); ++i) {
160 static TString
dir(
"./");
161 char* dirchar =
getenv(
"SRT_PRIVATE_CONTEXT");
162 if(dirchar) dir = dirchar;
163 const char* filetypes[] = {
164 "Configuration Files",
"*.fcl",
169 finfo.fIniDir = StrDup(dir.Data());
170 finfo.fFileTypes = filetypes;
172 new TGFileDialog(gClient->GetRoot(),
176 if (finfo.fFilename == 0)
return 0;
Manage all things related to colors for the event display.
std::string getenv(std::string const &name)