ScreenshotWUPS/src/retain_vars.hpp

37 lines
942 B
C++

#pragma once
#include "common.h"
#include <gx2/surface.h>
#include <notifications/notifications.h>
#include <string>
extern bool gEnabled;
extern ImageSourceEnum gImageSource;
extern GX2SurfaceFormat gTVSurfaceFormat;
extern GX2SurfaceFormat gDRCSurfaceFormat;
extern uint32_t gButtonCombo;
extern int32_t gQuality;
extern ImageOutputFormatEnum gOutputFormat;
extern std::string gShortNameEn;
extern ScreenshotState gTakeScreenshotTV;
extern ScreenshotState gTakeScreenshotDRC;
extern bool gReservedBitUsage;
extern bool gInProgressNotificationDisplayedDRC;
extern bool gInProgressNotificationDisplayedTV;
extern bool gNotAvailableNotificationDisplayed;
extern NMColor COLOR_RED;
extern int32_t gThreadPriorityIncrease;
extern bool gBlockDRCScreenshots;
extern bool gBlockScreenshots;
extern bool gInitNotificationModule;
extern bool gCheckIfScreenRendered;
extern uint32_t gReadySinceFramesTV;
extern uint32_t gReadySinceFramesDRC;