diff options
| author | nyamatongwe <unknown> | 2007-02-28 22:00:03 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2007-02-28 22:00:03 +0000 |
| commit | ab5b20104e5589f0c47b4e1c59f56aae8ba1f763 (patch) | |
| tree | f172e36da4ac2f1664a9aac28efd83f758ff932e | |
| parent | 4912aea49a23c8d9735eb5169a70c5b874891f74 (diff) | |
| download | scintilla-mirror-ab5b20104e5589f0c47b4e1c59f56aae8ba1f763.tar.gz | |
If AlphaBlend not available draw outlines rather than filled rectangles
as that is more readable.
| -rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 110f26421..b363fbda9 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -633,7 +633,9 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated ::DeleteObject(hbmMem); ::DeleteObject(hMemDC); } else { - RectangleDraw(rc, outline, fill); + BrushColor(outline); + RECT rcw = RectFromPRectangle(rc); + FrameRect(hdc, &rcw, brush); } } |
