Changeset 48

Show
Ignore:
Timestamp:
05/15/07 13:55:07 (2 years ago)
Author:
lindquist
Message:

minor doc update
minor win32 update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bughunt/docs/dsss.conf

    r44 r48  
    22[minwin] 
    33buildflags=minwin.ddoc 
     4exclude=minwin/native.d 
  • branches/bughunt/docs/minwin/native.d

    r44 r48  
    66typedef char* LPSTR; 
    77typedef HANDLE HICON; 
    8  
    9 // Motif stuff 
    10 typedef void* XtAppContext; 
    11 typedef void* Display; 
    12 typedef void* ImlibData; 
  • branches/bughunt/minwin/paint.d

    r38 r48  
    3737 
    3838enum PenStyle { 
    39     Solid =                        0, 
    40     Dash =                         1, /* -------    */ 
    41     Dot =                            2, /* .......    */ 
    42     DashDot =                    3    /* _._._._    */ 
     39    Solid =                      0, 
     40    Dash =                       1, /* ------- */ 
     41    Dot =                        2, /* ······· */ 
     42    DashDot =                    3  /* -·-·-·- */ 
    4343    // todo: None? 
    4444} 
  • branches/bughunt/minwin/window.d

    r47 r48  
    310310                    //      version(LOG)log.writefln("Paint rect: %s",toRect(gc.paintstruct.rcPaint).toString); 
    311311                    gc.hasPeer = FOREIGN_PEER; // don't call DisposeDC 
    312                     if (clearBackgroundOnPaint && backgroundPeer) { 
     312                    if (clearBackgroundOnPaint || gc.paintstruct.fErase) { 
    313313                        Point s = super.size; 
    314314                        Rect r = LTWH(0,0,s.x,s.y); 
    315315                        //          version(LOG)log.writefln("painting background %d %d",width,height); 
     316                        BackgroundPeer bgpeer = backgroundPeer ? backgroundPeer : GetStockObject(WHITE_BRUSH); 
    316317                        FillRect(gc.peer,&r.native,backgroundPeer); 
    317318                    }