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