diff --git a/src/event.cxx b/src/event.cxx index e6b043b..7879661 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -1650,6 +1650,11 @@ void CEvent::SetWindowSize (Uint8 prevScale, Uint8 newScale) CEvent::PushUserEvent (WM_WARPMOUSE, coord); } +Uint8 CEvent::GetWindowScale () +{ + return m_WindowScale; +} + // Initialise le type de souris. void CEvent::SetMouseType (Sint32 mouseType) diff --git a/src/event.h b/src/event.h index 8bec5e1..bd0e017 100644 --- a/src/event.h +++ b/src/event.h @@ -119,6 +119,8 @@ public: void IntroStep(); + Uint8 GetWindowScale (); + public: static void PushUserEvent (Sint32 code, void *data = nullptr);