diff options
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 8e2e5170d..68ea8af13 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -51,6 +51,17 @@ class TestMain; struct FBOInfo; +enum ScreenDensity +{ + DENSITY_UNKNOWN = -1, + DENSITY_LOW = 0, + DENSITY_MEDIUM = 1, + DENSITY_TV = 2, + DENSITY_HIGH = 3, + DENSITY_XHIGH = 4, + DENSITY_XXHIGH = 5 +}; + class GraphicsManager final { public: @@ -70,6 +81,9 @@ class GraphicsManager final std::string getDensityString() const; + int getDensity() + { return mDensity; } + #ifdef USE_OPENGL TestMain *startDetection() A_WARN_UNUSED; |