mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
adds "NotificationBackground1" & "NotificationBackground2" notification gradient options
This commit is contained in:
1 file changed
+1
-1
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user