| 7 | #include "../uwp/uwp.hpp" |
| 8 | |
| 9 | void BaseXamlPageHost::UpdateFrame() |
| 10 | { |
| 11 | // Magic that gives us shadows |
| 12 | // we use the top side because any other side would cause a single line of white pixels to |
| 13 | // suddenly flash when resizing the color picker. |
| 14 | // can't use 0, that does nothing |
| 15 | // or -1: turns it full white. |
| 16 | const MARGINS margins = { 0, 0, 1, 0 }; |
| 17 | HresultVerify(DwmExtendFrameIntoClientArea(m_WindowHandle, &margins), spdlog::level::info, L"Failed to extend frame into client area"); |
| 18 | } |
| 19 | |
| 20 | wf::Rect BaseXamlPageHost::ScaleRect(wf::Rect rect, float scale) |
| 21 | { |
nothing calls this directly
no outgoing calls
no test coverage detected