Improve button chrome

This commit is contained in:
elasota
2020-05-17 19:50:34 -04:00
parent 153213e079
commit fde390ac73
4 changed files with 230 additions and 5 deletions

View File

@@ -371,7 +371,7 @@ void DrawDefaultButton (Dialog *theDialog)
for (int yOffset = -1; yOffset <= 1; yOffset++)
{
const Rect offsetRect = itemRect + Point::Create(xOffset, yOffset);
surface->FrameRoundRect(offsetRect, 8, 8);
surface->FrameRect(offsetRect);
}
}
}