| 744 | } |
| 745 | |
| 746 | std::wstring ColorPulseWindow::CurrentColorHex() const { |
| 747 | wchar_t buffer[7] = {}; |
| 748 | wsprintfW(buffer, L"%02X%02X%02X", GetRValue(current_color), GetGValue(current_color), GetBValue(current_color)); |
| 749 | return buffer; |
| 750 | } |
| 751 | |
| 752 | ColorPulseWindow::~ColorPulseWindow() { |
| 753 | if (hwnd) |