mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:23:15 +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
|
else
|
||||||
IntDrawRectEdge(dc, &myr, edge, (uFlags&DFCS_FLAT)|BF_RECT|BF_SOFT|BF_ADJUST);
|
IntDrawRectEdge(dc, &myr, edge, (uFlags&DFCS_FLAT)|BF_RECT|BF_SOFT|BF_ADJUST);
|
||||||
|
|
||||||
UITOOLS_DrawCheckedRect( dc, &myr );
|
UITOOLS_DrawCheckedRect( dc, &myr );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(uFlags & DFCS_MONO)
|
if(uFlags & DFCS_MONO)
|
||||||
{
|
{
|
||||||
IntDrawRectEdge(dc, &myr, edge, BF_MONO|BF_RECT|BF_ADJUST);
|
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
|
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…
Add table
Add a link
Reference in a new issue