projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b3785
)
fix scrollbar button issue and make it look like windows
author
Matthias Kupfer
<mkupfer@reactos.org>
Mon, 29 Jun 2009 16:47:56 +0000
(16:47 +0000)
committer
Matthias Kupfer
<mkupfer@reactos.org>
Mon, 29 Jun 2009 16:47:56 +0000
(16:47 +0000)
svn path=/trunk/; revision=41686
reactos/dll/win32/user32/windows/draw.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/user32/windows/draw.c
b/reactos/dll/win32/user32/windows/draw.c
index
13b4092
..
4d7b6c4
100644
(file)
--- a/
reactos/dll/win32/user32/windows/draw.c
+++ b/
reactos/dll/win32/user32/windows/draw.c
@@
-998,12
+998,7
@@
static BOOL UITOOLS95_DrawFrameScroll(HDC dc, LPRECT r, UINT uFlags)
default:
return FALSE;
}
- // FIXME: the following edge isn't windows-like
- if(uFlags & DFCS_PUSHED)
- IntDrawRectEdge(dc,r,EDGE_SUNKEN, BF_RECT | BF_MIDDLE | BF_SOFT);
- else
- IntDrawRectEdge(dc,r,BDR_RAISEDINNER | BDR_RAISEDOUTER, BF_RECT |
- BF_SOFT | BF_MIDDLE);
+ IntDrawRectEdge(dc, r, (uFlags & DFCS_PUSHED) ? EDGE_SUNKEN : EDGE_RAISED, (uFlags&DFCS_FLAT) | BF_MIDDLE | BF_RECT);
ZeroMemory(&lf, sizeof(LOGFONT));
UITOOLS_MakeSquareRect(r, &myr);
myr.left += 1;