5 #include <FairLogger.h>
13 for (
auto frame : fFrames)
23 SetWindowName(
"XX GUI");
24 SetCleanup(kDeepCleanup);
25 fExpandX = options & kVerticalFrame;
30 if (frame->GetParent() !=
this)
31 LOG(fatal) <<
"Cannot pass a sidebar frame whose parent (" << frame->GetParent() <<
") isn't the sidebar ("
34 fFrames.push_back(frame);
36 TGMainFrame::AddFrame(frame,
new TGLayoutHints(kLHintsExpandX));
38 TGMainFrame::AddFrame(frame,
new TGLayoutHints(kLHintsExpandY));
44 for (
auto frame : fFrames)
45 frame->UsePictureButtons(val);