2 #include "nutools/EventDisplayBase/evdb.h" 18 static TGPicturePool* pp = 0;
22 const char* private_ctx =
getenv(
"SRT_PRIVATE_CONTEXT");
23 const char* public_ctx =
getenv(
"SRT_PUBLIC_CONTEXT");
24 const char* root_ctx =
getenv(
"ROOTSYS");
28 if(private_ctx) { path += private_ctx; path +=
"/EventDisplay/icons:"; }
29 if(public_ctx) { path += public_ctx; path +=
"/EventDisplay/icons:"; }
30 path += root_ctx; path +=
"/icons";
32 pp =
new TGPicturePool(gClient, path.c_str());
std::string getenv(std::string const &name)
const TGWindow * TopWindow()
TGPicturePool * PicturePool()