diff options
author | nyamatongwe <devnull@localhost> | 2007-02-28 22:00:03 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-02-28 22:00:03 +0000 |
commit | 6689f90cf0aade19e4c4c8da73127bb66478388c (patch) | |
tree | f172e36da4ac2f1664a9aac28efd83f758ff932e /win32/PlatWin.cxx | |
parent | 68dd99bcacaad2a5c9be8b71bf541e455d7d1c67 (diff) | |
download | scintilla-mirror-6689f90cf0aade19e4c4c8da73127bb66478388c.tar.gz |
If AlphaBlend not available draw outlines rather than filled rectangles
as that is more readable.
Diffstat (limited to 'win32/PlatWin.cxx')
-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); } } |