RmlUi: DPI scaling now uses the window size instead of the desktop resolution and is updated when the window is resized.

This commit is contained in:
Zero
2026-06-20 15:57:06 +02:00
parent d34ff23292
commit f7e0465dc3
3 changed files with 19 additions and 15 deletions

View File

@@ -18,5 +18,5 @@ void RmlManager::Shutdown() {}
void RmlManager::Update() {}
void RmlManager::Render() {}
void RmlManager::OnResize(int width, int height) {}
void RmlManager::UpdateDpRatio() {}
void RmlManager::UpdateDpRatio(int, int) {}
void RmlManager::OnLanguageChanged() {}