summaryrefslogtreecommitdiff
path: root/displaymessage.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaymessage.c')
-rw-r--r--displaymessage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/displaymessage.c b/displaymessage.c
index e44e5a0..aa15005 100644
--- a/displaymessage.c
+++ b/displaymessage.c
@@ -56,6 +56,9 @@ void cNopacityDisplayMessage::SetMessage(eMessageType Type, const char *Text) {
imgLoader.DrawBackground2(Theme.Color(clrMessageBlend), col, width-2, height-2);
pixmap->DrawImage(cPoint(1, 1), imgLoader.GetImage());
}
+ if (config.roundedCorners) {
+ DrawRoundedCornersWithBorder(pixmap, col, config.cornerRadius, width, height);
+ }
int textWidth = font->Width(Text);
pixmap->DrawText(cPoint((width - textWidth) / 2, (height - font->Height()) / 2), Text, colFont, (config.doBlending)?clrTransparent:col, font);
if (config.messageFadeTime)