1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

allows resizing window in windowed mode

This commit is contained in:
Laserlicht
2025-08-31 13:15:55 +02:00
parent 759f207d8a
commit f10f9768a5
8 changed files with 28 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ public:
virtual ~IScreenHandler() = default;
/// Updates window state after fullscreen state has been changed in settings
virtual void onScreenResize() = 0;
virtual bool onScreenResize(bool keepWindowResolution) = 0;
/// Fills screen with black color, erasing any existing content
virtual void clearScreen() = 0;