Changeset 2173 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 06/13/03 16:42:37 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mmain
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MAnalysis.cc
r2142 r2173 24 24 #include "MAnalysis.h" 25 25 26 #include <iostream .h>26 #include <iostream> 27 27 28 28 #include <TGLabel.h> // TGlabel … … 33 33 #include "MImgCleanStd.h" // MImgCleanStd 34 34 35 ClassImp(MAnalysis) 35 ClassImp(MAnalysis); 36 37 using namespace std; 36 38 37 39 enum { -
trunk/MagicSoft/Mars/mmain/MBrowser.cc
r1668 r2173 26 26 #include "MBrowser.h" 27 27 28 #include <iostream .h>28 #include <iostream> 29 29 #include <sys/stat.h> // S_ISDIR 30 30 … … 45 45 46 46 ClassImp(MBrowser); 47 48 using namespace std; 47 49 48 50 enum { -
trunk/MagicSoft/Mars/mmain/MMars.cc
r1668 r2173 26 26 #include "MMars.h" 27 27 28 #include <iostream .h>28 #include <iostream> 29 29 30 30 #include <TApplication.h> // gROOT->GetApplication()->... … … 44 44 #include "MCameraDisplay.h" 45 45 46 ClassImp(MMars) 46 ClassImp(MMars); 47 48 using namespace std; 47 49 48 50 enum { … … 94 96 fList->Add(magic); 95 97 magic->Associate(this); 96 TGLayoutHints *lay1 = new TGLayoutHints(kLHintsLeft, 10 ., 10., 20., 10.);98 TGLayoutHints *lay1 = new TGLayoutHints(kLHintsLeft, 10, 10, 20, 10); 97 99 fList->Add(lay1); 98 100 top->AddFrame(magic, lay1); … … 105 107 fList->Add(mars); 106 108 mars->Associate(this); 107 TGLayoutHints *lay2 = new TGLayoutHints(kLHintsRight, 10 ., 10., 10., 10.);109 TGLayoutHints *lay2 = new TGLayoutHints(kLHintsRight, 10, 10, 10, 10); 108 110 fList->Add(lay2); 109 111 top->AddFrame(mars, lay2); -
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r1911 r2173 27 27 28 28 #include <stdlib.h> 29 #include <iostream .h>29 #include <iostream> 30 30 31 31 #include <TGLabel.h> // TGLabel … … 37 37 #include "MGList.h" 38 38 39 ClassImp(MMonteCarlo) 39 ClassImp(MMonteCarlo); 40 41 using namespace std; 40 42 41 43 enum { -
trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
r2117 r2173 61 61 #include "MStatusDisplay.h" 62 62 63 #include <fstream .h>// fstream63 #include <fstream> // fstream 64 64 65 65 #include <TLine.h> // TLine … … 98 98 99 99 ClassImp(MStatusDisplay); 100 101 using namespace std; 100 102 101 103 // ------------ Workaround for a non working TGTextView::Search ------------- … … 1356 1358 const TString newstr("%%DocumentPaperSizes: a4\n%%Orientation: Landscape"); 1357 1359 1360 // gcc 3.2: 1361 /* 1358 1362 fstream f(name, ios::in|ios::out|ios::nocreate); 1359 1363 … … 1393 1397 delete c2; 1394 1398 delete c1; 1399 */ 1395 1400 } 1396 1401 … … 1770 1775 // canculate new size of frame (canvas @ 1:sqrt(2)) 1771 1776 if (hchanged) 1772 w = (UInt_t)((h-ch)*sqrt(2 )+.5)+cw;1777 w = (UInt_t)((h-ch)*sqrt(2.)+.5)+cw; 1773 1778 else 1774 h = (UInt_t)((w-cw)/sqrt(2 )+.5)+ch;1779 h = (UInt_t)((w-cw)/sqrt(2.)+.5)+ch; 1775 1780 1776 1781 //cout << "Res: " << w << " " << h << " " << evt->fX << " " << evt->fY << endl;
Note:
See TracChangeset
for help on using the changeset viewer.