UI: Very basic dynamic DPI support

This commit is contained in:
DrChat
2017-08-03 19:03:26 -05:00
parent d439704aa9
commit aeb0e2557c
5 changed files with 73 additions and 13 deletions

View File

@@ -154,6 +154,8 @@ void Window::Layout() {
void Window::Invalidate() {}
void Window::OnDpiChanged(UIEvent* e) {}
void Window::OnResize(UIEvent* e) {
ForEachListener([e](auto listener) { listener->OnResize(e); });
}