// Mainframe macro generated from application: C:\root\bin\root.exe // By ROOT version 5.26/00 on 2010-09-20 15:04:32 #ifndef ROOT_TGDockableFrame #include "TGDockableFrame.h" #endif #ifndef ROOT_TGMenu #include "TGMenu.h" #endif #ifndef ROOT_TGMdiDecorFrame #include "TGMdiDecorFrame.h" #endif #ifndef ROOT_TG3DLine #include "TG3DLine.h" #endif #ifndef ROOT_TGMdiFrame #include "TGMdiFrame.h" #endif #ifndef ROOT_TGMdiMainFrame #include "TGMdiMainFrame.h" #endif #ifndef ROOT_TGMdiMenu #include "TGMdiMenu.h" #endif #ifndef ROOT_TGListBox #include "TGListBox.h" #endif #ifndef ROOT_TGNumberEntry #include "TGNumberEntry.h" #endif #ifndef ROOT_TGScrollBar #include "TGScrollBar.h" #endif #ifndef ROOT_TGComboBox #include "TGComboBox.h" #endif #ifndef ROOT_TGuiBldHintsEditor #include "TGuiBldHintsEditor.h" #endif #ifndef ROOT_TGuiBldNameFrame #include "TGuiBldNameFrame.h" #endif #ifndef ROOT_TGFrame #include "TGFrame.h" #endif #ifndef ROOT_TGFileDialog #include "TGFileDialog.h" #endif #ifndef ROOT_TGShutter #include "TGShutter.h" #endif #ifndef ROOT_TGButtonGroup #include "TGButtonGroup.h" #endif #ifndef ROOT_TGCanvas #include "TGCanvas.h" #endif #ifndef ROOT_TGFSContainer #include "TGFSContainer.h" #endif #ifndef ROOT_TGuiBldEditor #include "TGuiBldEditor.h" #endif #ifndef ROOT_TGColorSelect #include "TGColorSelect.h" #endif #ifndef ROOT_TGButton #include "TGButton.h" #endif #ifndef ROOT_TGFSComboBox #include "TGFSComboBox.h" #endif #ifndef ROOT_TGLabel #include "TGLabel.h" #endif #ifndef ROOT_TGMsgBox #include "TGMsgBox.h" #endif #ifndef ROOT_TRootGuiBuilder #include "TRootGuiBuilder.h" #endif #ifndef ROOT_TGTab #include "TGTab.h" #endif #ifndef ROOT_TGListView #include "TGListView.h" #endif #ifndef ROOT_TGSplitter #include "TGSplitter.h" #endif #ifndef ROOT_TGStatusBar #include "TGStatusBar.h" #endif #ifndef ROOT_TGListTree #include "TGListTree.h" #endif #ifndef ROOT_TGuiBldGeometryFrame #include "TGuiBldGeometryFrame.h" #endif #ifndef ROOT_TGToolTip #include "TGToolTip.h" #endif #ifndef ROOT_TGToolBar #include "TGToolBar.h" #endif #ifndef ROOT_TGuiBldDragManager #include "TGuiBldDragManager.h" #endif #include "Riostream.h" void save2() { // main frame TGMainFrame *fMainFrame1446 = new TGMainFrame(gClient->GetRoot(),10,10,kMainFrame | kVerticalFrame); fMainFrame1446->SetLayoutBroken(kTRUE); // composite frame TGCompositeFrame *fMainFrame1289 = new TGCompositeFrame(fMainFrame1446,490,372,kVerticalFrame); // horizontal frame TGHorizontalFrame *fHorizontalFrame1290 = new TGHorizontalFrame(fMainFrame1289,488,370,kHorizontalFrame); TGTextButton *fTextButton1291 = new TGTextButton(fHorizontalFrame1290,"fTextButton561"); fTextButton1291->SetTextJustify(36); fTextButton1291->SetMargins(0,0,0,0); fTextButton1291->SetWrapLength(-1); fTextButton1291->Resize(89,22); fHorizontalFrame1290->AddFrame(fTextButton1291, new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2)); fMainFrame1289->AddFrame(fHorizontalFrame1290, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY,1,1,1,1)); fMainFrame1446->AddFrame(fMainFrame1289, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY)); fMainFrame1289->MoveResize(0,0,490,372); fMainFrame1446->SetMWMHints(kMWMDecorAll, kMWMFuncAll, kMWMInputModeless); fMainFrame1446->MapSubwindows(); fMainFrame1446->Resize(fMainFrame1446->GetDefaultSize()); fMainFrame1446->MapWindow(); fMainFrame1446->Resize(490,372); }