#include <RetroPlayerUtils.h>
◆ IdentifierToStretchMode()
STRETCHMODE CRetroPlayerUtils::IdentifierToStretchMode |
( |
const std::string & | stretchMode | ) |
|
|
static |
Convert a stretch mode identifier to an enum.
- Parameters
-
stretchMode | The short string identifier, from GameSettings.h, representing the stretch mode |
- Returns
- The stretch mode enum, or STRETCHMODE::Normal if the identifier is invalid
◆ StretchModeToIdentifier()
const char * CRetroPlayerUtils::StretchModeToIdentifier |
( |
STRETCHMODE | stretchMode | ) |
|
|
static |
Convert a stretch mode enum to a short string identifier.
- Parameters
-
stretchMode | The stretch mode |
- Returns
- A short string identifier specified by GameSettings.h, or an empty string if the stretch mode is invalid
The documentation for this class was generated from the following files: