// Mainframe macro generated from application: /usr/local/root/bin/root.exe // By ROOT version 5.28/00 on 2011-06-15 15:04:36 #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 gui3_test() { // main frame TGMainFrame *fMainFrame872 = new TGMainFrame(gClient->GetRoot(),10,10,kMainFrame | kVerticalFrame); fMainFrame872->SetName("fMainFrame872"); fMainFrame872->SetLayoutBroken(kTRUE); // composite frame TGCompositeFrame *fMainFrame867 = new TGCompositeFrame(fMainFrame872,490,372,kVerticalFrame | kRaisedFrame); fMainFrame867->SetName("fMainFrame867"); fMainFrame867->SetLayoutBroken(kTRUE); // composite frame TGCompositeFrame *fMainFrame721 = new TGCompositeFrame(fMainFrame867,460,193,kVerticalFrame | kRaisedFrame); fMainFrame721->SetName("fMainFrame721"); fMainFrame721->SetLayoutBroken(kTRUE); TGTextButton *fTextButton713 = new TGTextButton(fMainFrame721,"fTextButton560"); fTextButton713->SetTextJustify(36); fTextButton713->SetMargins(0,0,0,0); fTextButton713->SetWrapLength(-1); fTextButton713->Resize(184,136); fMainFrame721->AddFrame(fTextButton713, new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2)); fTextButton713->MoveResize(16,24,184,136); TGTextButton *fTextButton714 = new TGTextButton(fMainFrame721,"fTextButton565"); fTextButton714->SetTextJustify(36); fTextButton714->SetMargins(0,0,0,0); fTextButton714->SetWrapLength(-1); fTextButton714->Resize(208,136); fMainFrame721->AddFrame(fTextButton714, new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2)); fTextButton714->MoveResize(232,24,208,136); fMainFrame867->AddFrame(fMainFrame721, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY)); fMainFrame721->MoveResize(0,0,460,193); fMainFrame872->AddFrame(fMainFrame867, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY)); fMainFrame867->MoveResize(0,0,490,372); fMainFrame872->SetMWMHints(kMWMDecorAll, kMWMFuncAll, kMWMInputModeless); fMainFrame872->MapSubwindows(); fMainFrame872->Resize(fMainFrame872->GetDefaultSize()); fMainFrame872->MapWindow(); fMainFrame872->Resize(490,372); }