-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IWindow interface to allow for updating window video mode
- Loading branch information
Showing
6 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef CORE_PLATFORM_DISPLAYMODE | ||
#define CORE_PLATFORM_DISPLAYMODE | ||
|
||
namespace Core::Platform { | ||
|
||
/** | ||
* Each DisplayMode struct represents the settings which the users monitors is capable of displaying. | ||
* Exists as a compatibility layer between `Core/` and `RageUtil/`. Without this, includes to `RageUtil` | ||
* would be necessary in `Core`. | ||
*/ | ||
struct DisplayMode { | ||
DisplayMode() = default; | ||
int width{0}; | ||
int height{0}; | ||
int refreshRate{0}; | ||
}; | ||
|
||
} | ||
|
||
#endif //CORE_PLATFORM_DISPLAYMODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters