// Mainframe macro generated from application: /usr/local/root/bin/root.exe // By ROOT version 5.28/00 on 2011-06-15 15:03:56 #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_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_TRootGuiBuilder #include "TRootGuiBuilder.h" #endif #ifndef ROOT_TGTab #include "TGTab.h" #endif #ifndef ROOT_TGListView #include "TGListView.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_TGToolBar #include "TGToolBar.h" #endif #ifndef ROOT_TGuiBldDragManager #include "TGuiBldDragManager.h" #endif #ifndef ROOT_TGObject #include "TGObject.h" #endif #include "Riostream.h" void gui2_test() { // main frame TGMainFrame *fMainFrame867 = new TGMainFrame(gClient->GetRoot(),10,10,kMainFrame | kVerticalFrame); fMainFrame867->SetName("fMainFrame867"); fMainFrame867->SetLayoutBroken(kTRUE); // composite frame TGCompositeFrame *fMainFrame721 = new TGCompositeFrame(fMainFrame867,460,193,kVerticalFrame | kRaisedFrame); fMainFrame721->SetName("fMainFrame721"); fMainFrame721->SetLayoutBroken(kTRUE); TGTextButton *fTextButton710 = new TGTextButton(fMainFrame721,"fTextButton560"); fTextButton710->SetTextJustify(36); fTextButton710->SetMargins(0,0,0,0); fTextButton710->SetWrapLength(-1); fTextButton710->Resize(184,136); fMainFrame721->AddFrame(fTextButton710, new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2)); fTextButton710->MoveResize(16,24,184,136); TGTextButton *fTextButton711 = new TGTextButton(fMainFrame721,"fTextButton565"); fTextButton711->SetTextJustify(36); fTextButton711->SetMargins(0,0,0,0); fTextButton711->SetWrapLength(-1); fTextButton711->Resize(208,136); fMainFrame721->AddFrame(fTextButton711, new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2)); fTextButton711->MoveResize(232,24,208,136); fMainFrame867->AddFrame(fMainFrame721, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY)); fMainFrame721->MoveResize(0,0,460,193); fMainFrame867->SetMWMHints(kMWMDecorAll, kMWMFuncAll, kMWMInputModeless); fMainFrame867->MapSubwindows(); fMainFrame867->Resize(fMainFrame867->GetDefaultSize()); fMainFrame867->MapWindow(); fMainFrame867->Resize(490,372); }