Skip to content

Commit

Permalink
adds "NotificationBackground1" & "NotificationBackground2" notificati…
Browse files Browse the repository at this point in the history
…on gradient options
  • Loading branch information
henrypp committed Feb 6, 2020
1 parent 9b2c91d commit 6ce25bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 6ce25bd

Please sign in to comment.