From 6ce25bdd10fe5931d6739b9a90414477c19e036e Mon Sep 17 00:00:00 2001 From: henrypp Date: Thu, 6 Feb 2020 18:49:04 +0600 Subject: [PATCH] adds "NotificationBackground1" & "NotificationBackground2" notification gradient options --- src/notifications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.cpp b/src/notifications.cpp index d58aa110..3f57224a 100644 --- a/src/notifications.cpp +++ b/src/notifications.cpp @@ -695,7 +695,7 @@ INT_PTR CALLBACK NotificationProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lp SetBkMode (drawInfo->hDC, TRANSPARENT); // draw background - DrawGradient (drawInfo->hDC, &drawInfo->rcItem, NOTIFY_GRADIENT_1, NOTIFY_GRADIENT_2, GRADIENT_FILL_RECT_H); + DrawGradient (drawInfo->hDC, &drawInfo->rcItem, app.ConfigGet (L"NotificationBackground1", NOTIFY_GRADIENT_1).AsUlong (), app.ConfigGet (L"NotificationBackground2", NOTIFY_GRADIENT_2).AsUlong (), GRADIENT_FILL_RECT_H); // draw title text WCHAR text[128] = {0};