ScreenshotWUPS/src/retain_vars.cpp

28 lines
934 B
C++
Raw Normal View History

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;
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;
NMColor COLOR_RED = {237, 28, 36, 255};
int32_t gThreadPriorityIncrease = 1;
bool gBlockDRCScreenshots = false;
bool gBlockScreenshots = false;