| 183 | } |
| 184 | |
| 185 | void window::enable_shadow(void *hwnd) |
| 186 | { |
| 187 | HWND window = static_cast<HWND>(hwnd); |
| 188 | |
| 189 | set_window_attribute(window, 2, 2); |
| 190 | extend_client_area(window, 1); |
| 191 | |
| 192 | SetWindowPos(window, nullptr, 0, 0, 0, 0, SWP_FRAMECHANGED |
| 193 | | SWP_NOMOVE | SWP_NOSIZE | SWP_DRAWFRAME | SWP_NOACTIVATE); |
| 194 | } |
| 195 | |
| 196 | bool window::is_dark_theme() |
| 197 | { |
nothing calls this directly
no test coverage detected