projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4262a
)
Use BF_SOFT style to draw pushbutton edges.
author
Eric Kohl
<eric.kohl@reactos.org>
Tue, 9 Nov 2004 14:59:37 +0000
(14:59 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Tue, 9 Nov 2004 14:59:37 +0000
(14:59 +0000)
svn path=/trunk/; revision=11605
reactos/lib/user32/windows/draw.c
patch
|
blob
|
history
diff --git
a/reactos/lib/user32/windows/draw.c
b/reactos/lib/user32/windows/draw.c
index
1981bc1
..
849d5f1
100644
(file)
--- a/
reactos/lib/user32/windows/draw.c
+++ b/
reactos/lib/user32/windows/draw.c
@@
-654,10
+654,10
@@
static BOOL UITOOLS95_DFC_ButtonPush(HDC dc, LPRECT r, UINT uFlags)
else
IntDrawRectEdge(dc, &myr, edge, (uFlags&DFCS_FLAT)|BF_RECT|BF_SOFT|BF_ADJUST);
- UITOOLS_DrawCheckedRect( dc, &myr );
-
}
-
else
-
{
+
UITOOLS_DrawCheckedRect( dc, &myr );
+ }
+ else
+ {
if(uFlags & DFCS_MONO)
{
IntDrawRectEdge(dc, &myr, edge, BF_MONO|BF_RECT|BF_ADJUST);
@@
-665,7
+665,7
@@
static BOOL UITOOLS95_DFC_ButtonPush(HDC dc, LPRECT r, UINT uFlags)
}
else
{
- IntDrawRectEdge(dc, r, edge, (uFlags&DFCS_FLAT) | BF_MIDDLE | BF_RECT);
+ IntDrawRectEdge(dc, r, edge, (uFlags&DFCS_FLAT) | BF_MIDDLE | BF_RECT
| BF_SOFT
);
}
}