Changeset 2109 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 05/10/03 18:27:17 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mmain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
r2087 r2109 72 72 #include <TDatime.h> // TDatime 73 73 #include <TRandom.h> // TRandom 74 #include <TBrowser.h> // TBrowser 74 75 #include <TObjArray.h> // TObjArray 75 76 #include <TPostScript.h> // TPostScript … … 169 170 // 170 171 MGPopupMenu *filemenu = new MGPopupMenu(gClient->GetRoot()); 171 // filemenu->AddEntry("S&ave [F2]", kFileSave); 172 // filemenu->AddEntry("Save &As... [Shift-F2]", kFileSaveAs); 172 // filemenu->AddEntry("Save &As...", kFileSaveAs); 173 filemenu->AddEntry("New Can&vas", kFileCanvas); 174 filemenu->AddEntry("New &Browser", kFileBrowser); 175 filemenu->AddSeparator(); 173 176 filemenu->AddEntry("Save As status.&ps", kFileSaveAsPS); 174 177 filemenu->AddEntry("Save As status.&gif", kFileSaveAsGIF); … … 177 180 filemenu->AddSeparator(); 178 181 filemenu->AddEntry("Print with &lpr", kFilePrint); 179 filemenu->AddEntry("Set printer &name", kFilePrinterName);182 //filemenu->AddEntry("Set printer &name", kFilePrinterName); 180 183 filemenu->AddSeparator(); 181 184 filemenu->AddEntry("E&xit", kFileExit); … … 186 189 // 187 190 MGPopupMenu *tabmenu = new MGPopupMenu(gClient->GetRoot()); 188 // tabmenu->AddEntry("S&ave [F2]", kFileSave); 189 // tabmenu->AddEntry("Save &As... [Shift-F2]", kFileSaveAs); 191 // tabmenu->AddEntry("Save &As...", kFileSaveAs); 190 192 tabmenu->AddEntry("Save As tab-i.&ps", kTabSaveAsPS); 191 193 tabmenu->AddEntry("Save As tab-i.&gif", kTabSaveAsGIF); … … 760 762 fStatus = (Status_t)id; 761 763 return kTRUE; 762 /* 764 765 case kFileCanvas: 766 new TCanvas; 767 return kTRUE; 768 769 case kFileBrowser: 770 new TBrowser; 771 return kTRUE; 772 773 /* 763 774 case kFileSave: 764 775 cout << "Save..." << endl; … … 1356 1367 TPostScript ps(name, 112); 1357 1368 ps.SetBit(TPad::kPrintingPS); 1369 1370 //%%DocumentPaperSizes: a4 1371 //%%Orientation: Portrait 1372 1358 1373 ps.PrintFast(13, "/nan {1} def "); 1359 1374 -
trunk/MagicSoft/Mars/mmain/MStatusDisplay.h
r2087 r2109 33 33 typedef enum { 34 34 // KFile 35 kFile Save, kFileSaveAs, kFileSaveAsPS, kFileSaveAsRoot,36 kFileSaveAs GIF, kFileSaveAsC, kFilePrint, kFilePrinterName,37 kFile Exit,35 kFileBrowser, kFileCanvas, kFileSave, kFileSaveAs, kFileSaveAsPS, 36 kFileSaveAsRoot, kFileSaveAsGIF, kFileSaveAsC, kFilePrint, 37 kFilePrinterName, kFileExit, 38 38 // kLoop 39 39 kLoopNone, kLoopStop,
Note:
See TracChangeset
for help on using the changeset viewer.