Ignore:
Timestamp:
06/13/03 16:42:37 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mmain
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MAnalysis.cc

    r2142 r2173  
    2424#include "MAnalysis.h"
    2525
    26 #include <iostream.h>
     26#include <iostream>
    2727
    2828#include <TGLabel.h>       // TGlabel
     
    3333#include "MImgCleanStd.h"  // MImgCleanStd
    3434
    35 ClassImp(MAnalysis)
     35ClassImp(MAnalysis);
     36
     37using namespace std;
    3638
    3739enum {
  • trunk/MagicSoft/Mars/mmain/MBrowser.cc

    r1668 r2173  
    2626#include "MBrowser.h"
    2727
    28 #include <iostream.h>
     28#include <iostream>
    2929#include <sys/stat.h>       // S_ISDIR
    3030
     
    4545
    4646ClassImp(MBrowser);
     47
     48using namespace std;
    4749
    4850enum {
  • trunk/MagicSoft/Mars/mmain/MMars.cc

    r1668 r2173  
    2626#include "MMars.h"
    2727
    28 #include <iostream.h>
     28#include <iostream>
    2929
    3030#include <TApplication.h>  // gROOT->GetApplication()->...
     
    4444#include "MCameraDisplay.h"
    4545
    46 ClassImp(MMars)
     46ClassImp(MMars);
     47
     48using namespace std;
    4749
    4850enum {
     
    9496        fList->Add(magic);
    9597        magic->Associate(this);
    96         TGLayoutHints *lay1 = new TGLayoutHints(kLHintsLeft,  10., 10., 20., 10.);
     98        TGLayoutHints *lay1 = new TGLayoutHints(kLHintsLeft,  10, 10, 20, 10);
    9799        fList->Add(lay1);
    98100        top->AddFrame(magic, lay1);
     
    105107        fList->Add(mars);
    106108        mars->Associate(this);
    107         TGLayoutHints *lay2 = new TGLayoutHints(kLHintsRight, 10., 10., 10., 10.);
     109        TGLayoutHints *lay2 = new TGLayoutHints(kLHintsRight, 10, 10, 10, 10);
    108110        fList->Add(lay2);
    109111        top->AddFrame(mars,  lay2);
  • trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc

    r1911 r2173  
    2727
    2828#include <stdlib.h>
    29 #include <iostream.h>
     29#include <iostream>
    3030
    3131#include <TGLabel.h>        // TGLabel
     
    3737#include "MGList.h"
    3838
    39 ClassImp(MMonteCarlo)
     39ClassImp(MMonteCarlo);
     40
     41using namespace std;
    4042
    4143enum {
  • trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc

    r2117 r2173  
    6161#include "MStatusDisplay.h"
    6262
    63 #include <fstream.h>              // fstream
     63#include <fstream              // fstream
    6464
    6565#include <TLine.h>                // TLine
     
    9898
    9999ClassImp(MStatusDisplay);
     100
     101using namespace std;
    100102
    101103// ------------ Workaround for a non working TGTextView::Search -------------
     
    13561358    const TString newstr("%%DocumentPaperSizes: a4\n%%Orientation: Landscape");
    13571359
     1360    // gcc 3.2:
     1361    /*
    13581362    fstream f(name, ios::in|ios::out|ios::nocreate);
    13591363
     
    13931397    delete c2;
    13941398    delete c1;
     1399    */
    13951400}
    13961401
     
    17701775    // canculate new size of frame (canvas @ 1:sqrt(2))
    17711776    if (hchanged)
    1772         w = (UInt_t)((h-ch)*sqrt(2)+.5)+cw;
     1777        w = (UInt_t)((h-ch)*sqrt(2.)+.5)+cw;
    17731778    else
    1774         h = (UInt_t)((w-cw)/sqrt(2)+.5)+ch;
     1779        h = (UInt_t)((w-cw)/sqrt(2.)+.5)+ch;
    17751780
    17761781    //cout << "Res: " << w << " " << h << " " << evt->fX << " " << evt->fY << endl;
Note: See TracChangeset for help on using the changeset viewer.