Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Draw a 3D border around edit controls when not in WIN31_LOOK.
This commit is contained in:
parent
f9c20b6592
commit
9cbe067afa
|
@ -3651,7 +3651,10 @@ static void EDIT_WM_Paint(WND *wnd, EDITSTATE *es)
|
||||||
if(es->style & WS_HSCROLL) rc.bottom++;
|
if(es->style & WS_HSCROLL) rc.bottom++;
|
||||||
if(es->style & WS_VSCROLL) rc.right++;
|
if(es->style & WS_VSCROLL) rc.right++;
|
||||||
}
|
}
|
||||||
Rectangle(dc, rc.left, rc.top, rc.right, rc.bottom);
|
if (TWEAK_WineLook != WIN31_LOOK)
|
||||||
|
DrawEdge(dc, &rc, EDGE_SUNKEN, BF_RECT);
|
||||||
|
else
|
||||||
|
Rectangle(dc, rc.left, rc.top, rc.right, rc.bottom);
|
||||||
}
|
}
|
||||||
IntersectClipRect(dc, es->format_rect.left,
|
IntersectClipRect(dc, es->format_rect.left,
|
||||||
es->format_rect.top,
|
es->format_rect.top,
|
||||||
|
|
Loading…
Reference in New Issue