Ignore:
Timestamp:
01/18/01 11:46:04 (24 years ago)
Author:
harald
Message:
Added the Main gui for MonteCarlo.
Now there is also a gui called MGPrototyp. This can be used as the start
point for the next guis.
Location:
trunk/MagicSoft/Mars/mgui
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/GuiLinkDef.h

    r461 r571  
    77#pragma link C++ class MGMarsMain;
    88#pragma link C++ class MGDataCheckMain;
     9#pragma link C++ class MGMonteCarloMain;
     10
     11#pragma link C++ class MGPrototyp;
     12
    913//#pragma link C++ class MDumpEvtHeader;
    1014
  • trunk/MagicSoft/Mars/mgui/MGDataCheckMain.cc

    r544 r571  
    169169  fFileCont->Sort(kSortByName) ;
    170170 
    171   fTabF1b->AddFrame(fFileView, new TGLayoutHints(kLHintsTop | kLHintsExpandX, 5, 5, 5, 5) ) ;
     171  fTabF1b->AddFrame(fFileView, new TGLayoutHints(kLHintsTop | kLHintsExpandX | kLHintsExpandY, 5, 5, 5, 5) ) ;
    172172
    173173  tf->AddFrame(fTabF1, fLayTab) ;
     
    181181  //
    182182
    183   SetWMSizeHints(400, 650, 1000, 1000, 10, 10 ) ;      // set the smallest and biggest size of the Main frame
     183  SetWMSizeHints(400, 350, 1000, 1000, 10, 10 ) ;      // set the smallest and biggest size of the Main frame
    184184
    185185  MapSubwindows();
  • trunk/MagicSoft/Mars/mgui/MGMarsMain.cc

    r466 r571  
    1010
    1111#include "MGDataCheckMain.h"
     12#include "MGMonteCarloMain.h"
     13
     14#include "MGPrototyp.h"
    1215
    1316ClassImp(MGMarsMain)
     
    190193
    191194            case M_BUTTON_EVTDISP:
     195
    192196              new TGMsgBox(fClient->GetRoot(), this,
    193197                           "WARNING!",
     
    208212
    209213            case M_BUTTON_MONTECARLO:
    210               new TGMsgBox(fClient->GetRoot(), this,
    211                            "WARNING!",
    212                            "MONTECARLO not yet implemented!",
    213                            kMBIconExclamation, buttons, &retval);
     214              new MGMonteCarloMain(fClient->GetRoot(), this, 400, 650 ) ;
     215
    214216              break ;
    215217
  • trunk/MagicSoft/Mars/mgui/Makefile

    r546 r571  
    5353
    5454SRCFILES = MGMarsMain.cc \
    55            MGDataCheckMain.cc
     55           MGDataCheckMain.cc \
     56           MGMonteCarloMain.cc \
     57           MGPrototyp.cc
    5658
    5759
Note: See TracChangeset for help on using the changeset viewer.