2018-07-01 19:12:35 +02:00
|
|
|
#include "retain_vars.hpp"
|
2020-12-11 16:41:37 +01:00
|
|
|
#include <string>
|
2023-01-22 14:45:20 +01:00
|
|
|
|
2020-12-11 16:41:37 +01:00
|
|
|
GX2SurfaceFormat gTVSurfaceFormat = GX2_SURFACE_FORMAT_UNORM_R8_G8_B8_A8;
|
|
|
|
GX2SurfaceFormat gDRCSurfaceFormat = GX2_SURFACE_FORMAT_UNORM_R8_G8_B8_A8;
|
|
|
|
ImageSourceEnum gImageSource = IMAGE_SOURCE_TV_AND_DRC;
|
|
|
|
bool gEnabled = true;
|
|
|
|
uint32_t gButtonCombo = 0;
|
|
|
|
int32_t gQuality = 90;
|
|
|
|
ImageOutputFormatEnum gOutputFormat = IMAGE_OUTPUT_FORMAT_JPEG;
|
2023-01-22 14:45:20 +01:00
|
|
|
std::string gShortNameEn;
|
|
|
|
|
|
|
|
ScreenshotState gTakeScreenshotTV = SCREENSHOT_STATE_READY;
|
2023-01-22 16:36:40 +01:00
|
|
|
ScreenshotState gTakeScreenshotDRC = SCREENSHOT_STATE_READY;
|
|
|
|
|
2023-01-22 16:38:23 +01:00
|
|
|
bool gReservedBitUsage = true;
|
|
|
|
|
|
|
|
bool gInProgressNotificationDisplayedDRC = false;
|
|
|
|
bool gInProgressNotificationDisplayedTV = false;
|
|
|
|
bool gNotAvailableNotificationDisplayed = false;
|
|
|
|
|
2023-01-26 12:55:37 +01:00
|
|
|
NMColor COLOR_RED = {237, 28, 36, 255};
|
|
|
|
|
2023-01-26 13:01:46 +01:00
|
|
|
int32_t gThreadPriorityIncrease = 1;
|
|
|
|
|
2023-01-26 13:16:47 +01:00
|
|
|
bool gBlockDRCScreenshots = false;
|
|
|
|
bool gBlockScreenshots = false;
|
2023-01-26 13:21:35 +01:00
|
|
|
|
|
|
|
bool gInitNotificationModule = false;
|
2023-01-26 13:23:10 +01:00
|
|
|
bool gCheckIfScreenRendered = false;
|
|
|
|
|
|
|
|
uint32_t gReadySinceFramesTV = 0;
|
|
|
|
uint32_t gReadySinceFramesDRC = 0;
|