Skip to content

Commit

Permalink
bugfix: text color of daybreak
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-mausch committed Jun 12, 2014
1 parent f93473e commit f040d43
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ int DayBreak::getHeight()

void DayBreak::render(HDC deviceContext, int y, int clientHeight)
{
SetTextColor(deviceContext, RGB(0, 0, 0));
SetBkMode(deviceContext, TRANSPARENT);

int textWidth = calculateDrawTextWidth(deviceContext, dayStringW.c_str(), font.get());
Expand Down

0 comments on commit f040d43

Please sign in to comment.