2020-11-13 01:29:11 +01:00
|
|
|
#ifndef SCREENSETTINGS_H
|
|
|
|
#define SCREENSETTINGS_H
|
|
|
|
|
2021-12-26 08:05:14 +01:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
SCALING_LETTERBOX = 0,
|
|
|
|
SCALING_STRETCH = 1,
|
|
|
|
SCALING_INTEGER = 2,
|
|
|
|
NUM_SCALING_MODES
|
|
|
|
};
|
|
|
|
|
2020-11-13 01:29:11 +01:00
|
|
|
struct ScreenSettings
|
|
|
|
{
|
2021-09-07 03:56:39 +02:00
|
|
|
int windowWidth;
|
|
|
|
int windowHeight;
|
|
|
|
bool fullscreen;
|
|
|
|
bool useVsync;
|
2021-12-23 04:54:59 +01:00
|
|
|
int scalingMode;
|
2021-09-07 03:56:39 +02:00
|
|
|
bool linearFilter;
|
|
|
|
bool badSignal;
|
2020-11-13 01:29:11 +01:00
|
|
|
};
|
|
|
|
|
2021-12-25 09:18:51 +01:00
|
|
|
void ScreenSettings_default(struct ScreenSettings* _this);
|
|
|
|
|
2020-11-13 01:29:11 +01:00
|
|
|
#endif /* SCREENSETTINGS_H */
|