Support custom and match display aspect ratios
This commit is contained in:
@ -183,6 +183,9 @@ protected:
|
||||
/// Enables "relative" mouse mode, locking the cursor position and returning relative coordinates.
|
||||
virtual void SetMouseMode(bool relative, bool hide_cursor);
|
||||
|
||||
/// Call when host display size changes, use with "match display" aspect ratio setting.
|
||||
virtual void OnHostDisplayResized();
|
||||
|
||||
/// Sets the user directory to the program directory, i.e. "portable mode".
|
||||
void SetUserDirectoryToProgramDirectory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user