mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Use BF_SOFT style to draw pushbutton edges.
svn path=/trunk/; revision=11605
This commit is contained in:
parent
3b4262a4c2
commit
f167a592d3
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue