Changeset 48
- Timestamp:
- 05/15/07 13:55:07 (2 years ago)
- Files:
-
- branches/bughunt/docs/dsss.conf (modified) (1 diff)
- branches/bughunt/docs/minwin/native.d (modified) (1 diff)
- branches/bughunt/minwin/paint.d (modified) (1 diff)
- branches/bughunt/minwin/window.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/bughunt/docs/dsss.conf
r44 r48 2 2 [minwin] 3 3 buildflags=minwin.ddoc 4 exclude=minwin/native.d branches/bughunt/docs/minwin/native.d
r44 r48 6 6 typedef char* LPSTR; 7 7 typedef HANDLE HICON; 8 9 // Motif stuff10 typedef void* XtAppContext;11 typedef void* Display;12 typedef void* ImlibData;branches/bughunt/minwin/paint.d
r38 r48 37 37 38 38 enum 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 /* -·-·-·- */ 43 43 // todo: None? 44 44 } branches/bughunt/minwin/window.d
r47 r48 310 310 // version(LOG)log.writefln("Paint rect: %s",toRect(gc.paintstruct.rcPaint).toString); 311 311 gc.hasPeer = FOREIGN_PEER; // don't call DisposeDC 312 if (clearBackgroundOnPaint && backgroundPeer) {312 if (clearBackgroundOnPaint || gc.paintstruct.fErase) { 313 313 Point s = super.size; 314 314 Rect r = LTWH(0,0,s.x,s.y); 315 315 // version(LOG)log.writefln("painting background %d %d",width,height); 316 BackgroundPeer bgpeer = backgroundPeer ? backgroundPeer : GetStockObject(WHITE_BRUSH); 316 317 FillRect(gc.peer,&r.native,backgroundPeer); 317 318 }
