Changeset 7438 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 12/01/05 16:43:46 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/BaseLinkDef.h
r6915 r7438 15 15 #pragma link C++ class MLogPlugin+; 16 16 #pragma link C++ class MLogHtml+; 17 18 // I/O 19 #pragma link C++ class MZlib+; 17 20 18 21 // Basic Network Tools -
trunk/MagicSoft/Mars/mbase/MDirIter.cc
r6466 r7438 223 223 n.ReplaceAll("+", "\\+"); 224 224 n.ReplaceAll("*", "[^\\/:]*"); 225 n.ReplaceAll("?", ".");226 225 n.Append("$"); 227 226 -
trunk/MagicSoft/Mars/mbase/MLog.cc
r7151 r7438 173 173 // which is used for the output (i) 174 174 // 175 MLog::MLog(int i) : ostream(this), fPPtr(fBase), fEPtr(fBase+ bsz), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(i), fIsNull(kFALSE), fOut(NULL), fOutAllocated(kFALSE), fGui(NULL), fNumLines(0)175 MLog::MLog(int i) : ostream(this), fPPtr(fBase), fEPtr(fBase+fgBufferSize), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(i), fIsNull(kFALSE), fOut(NULL), fOutAllocated(kFALSE), fGui(NULL), fNumLines(0) 176 176 { 177 177 Init(); … … 183 183 // ofstream as the default output device 184 184 // 185 MLog::MLog(ofstream &out) : ostream(this), fPPtr(fBase), fEPtr(fBase+ bsz), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eFile), fIsNull(kFALSE), fOut(&out), fOutAllocated(kFALSE), fGui(NULL), fNumLines(0)185 MLog::MLog(ofstream &out) : ostream(this), fPPtr(fBase), fEPtr(fBase+fgBufferSize), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eFile), fIsNull(kFALSE), fOut(&out), fOutAllocated(kFALSE), fGui(NULL), fNumLines(0) 186 186 { 187 187 Init(); … … 193 193 // TGTextView as the default output device 194 194 // 195 MLog::MLog(TGTextView &out) : ostream(this), fPPtr(fBase), fEPtr(fBase+ bsz), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eGui), fOut(NULL), fOutAllocated(kFALSE), fGui(&out), fNumLines(0)195 MLog::MLog(TGTextView &out) : ostream(this), fPPtr(fBase), fEPtr(fBase+fgBufferSize), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eGui), fOut(NULL), fOutAllocated(kFALSE), fGui(&out), fNumLines(0) 196 196 { 197 197 Init(); … … 204 204 // or not. 205 205 // 206 MLog::MLog(const char *fname, int flag) : ostream(this), fPPtr(fBase), fEPtr(fBase+ bsz), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eFile), fIsNull(kFALSE), fGui(NULL), fNumLines(0)206 MLog::MLog(const char *fname, int flag) : ostream(this), fPPtr(fBase), fEPtr(fBase+fgBufferSize), fOutputLevel(0), fDebugLevel((unsigned)-1), fDevice(eFile), fIsNull(kFALSE), fGui(NULL), fNumLines(0) 207 207 { 208 208 Init(); -
trunk/MagicSoft/Mars/mbase/MLog.h
r7001 r7438 13 13 #include <iostream> // base classes for MLog 14 14 15 #define bsz 160 // two standard lines16 15 17 16 class MArgs; … … 54 53 static const char *const kDark; 55 54 55 static const int fgBufferSize = 160; // two standard lines 56 56 57 char fBuffer; //! 57 char fBase[ bsz+1]; //! Buffer to store the data in58 char fBase[fgBufferSize+1]; //! Buffer to store the data in 58 59 char *fPPtr; //! Pointer to present position in buffer 59 60 const char *fEPtr; //! Pointer to end of buffer -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r7434 r7438 722 722 // set the smallest and biggest size of the Main frame 723 723 // and move it to its appearance position 724 SetWMSizeHints(57 1, 480, 2048, 1536, 1, 1);725 MoveResize(rand()%100+57 1, rand()%100+480, 570, 480);724 SetWMSizeHints(572, 480, 2048, 1536, 1, 1); 725 MoveResize(rand()%100+572, rand()%100+480, 572, 480); 726 726 727 727 // … … 998 998 999 999 c.SetFillColor(16/*165*//*17*//*203*/); 1000 c.SetFrameBorderMode(0); 1000 1001 c.SetBorderMode(0); 1001 1002 … … 1589 1590 1590 1591 case kSize640: 1591 Resize(57 1, 480);1592 Resize(572, 480); 1592 1593 return kTRUE; 1593 1594 case kSize768: -
trunk/MagicSoft/Mars/mbase/Makefile
r6915 r7438 59 59 MClone.cc \ 60 60 MContinue.cc \ 61 MPrint.cc 61 MPrint.cc \ 62 MZlib.cc 62 63 63 64 ############################################################
Note:
See TracChangeset
for help on using the changeset viewer.