Ignore:
Timestamp:
12/01/05 16:43:46 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/BaseLinkDef.h

    r6915 r7438  
    1515#pragma link C++ class MLogPlugin+;
    1616#pragma link C++ class MLogHtml+;
     17
     18// I/O
     19#pragma link C++ class MZlib+;
    1720
    1821// Basic Network Tools
  • trunk/MagicSoft/Mars/mbase/MDirIter.cc

    r6466 r7438  
    223223    n.ReplaceAll("+", "\\+");
    224224    n.ReplaceAll("*", "[^\\/:]*");
    225     n.ReplaceAll("?", ".");
    226225    n.Append("$");
    227226
  • trunk/MagicSoft/Mars/mbase/MLog.cc

    r7151 r7438  
    173173// which is used for the output (i)
    174174//
    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)
     175MLog::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)
    176176{
    177177    Init();
     
    183183// ofstream as the default output device
    184184//
    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)
     185MLog::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)
    186186{
    187187    Init();
     
    193193// TGTextView as the default output device
    194194//
    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)
     195MLog::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)
    196196{
    197197    Init();
     
    204204// or not.
    205205//
    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)
     206MLog::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)
    207207{
    208208    Init();
  • trunk/MagicSoft/Mars/mbase/MLog.h

    r7001 r7438  
    1313#include <iostream>  // base classes for MLog
    1414
    15 #define bsz    160 // two standard lines
    1615
    1716class MArgs;
     
    5453    static const char *const kDark;
    5554
     55    static const int fgBufferSize = 160;  // two standard lines
     56
    5657    char        fBuffer;      //!
    57     char        fBase[bsz+1]; //! Buffer to store the data in
     58    char        fBase[fgBufferSize+1]; //! Buffer to store the data in
    5859    char       *fPPtr;        //! Pointer to present position in buffer
    5960    const char *fEPtr;        //! Pointer to end of buffer
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r7434 r7438  
    722722    // set the smallest and biggest size of the Main frame
    723723    // and move it to its appearance position
    724     SetWMSizeHints(571, 480, 2048, 1536, 1, 1);
    725     MoveResize(rand()%100+571, rand()%100+480, 570, 480);
     724    SetWMSizeHints(572, 480, 2048, 1536, 1, 1);
     725    MoveResize(rand()%100+572, rand()%100+480, 572, 480);
    726726
    727727    //
     
    998998
    999999    c.SetFillColor(16/*165*//*17*//*203*/);
     1000    c.SetFrameBorderMode(0);
    10001001    c.SetBorderMode(0);
    10011002
     
    15891590
    15901591    case kSize640: 
    1591         Resize(571, 480);
     1592        Resize(572, 480);
    15921593        return kTRUE;
    15931594    case kSize768: 
  • trunk/MagicSoft/Mars/mbase/Makefile

    r6915 r7438  
    5959           MClone.cc \
    6060           MContinue.cc \
    61            MPrint.cc
     61           MPrint.cc \
     62           MZlib.cc
    6263
    6364############################################################
Note: See TracChangeset for help on using the changeset viewer.