mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add getter for the window scale factor
This commit is contained in:
parent
738c6b5047
commit
ae6d01a519
@ -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)
|
||||
|
@ -119,6 +119,8 @@ public:
|
||||
|
||||
void IntroStep();
|
||||
|
||||
Uint8 GetWindowScale ();
|
||||
|
||||
public:
|
||||
static void PushUserEvent (Sint32 code, void *data = nullptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user