1 #ifndef MYTHUISCREENBOUNDS_H
2 #define MYTHUISCREENBOUNDS_H
17 void UIScreenRectChanged(
const QRect& Rect);
20 static bool GeometryIsOverridden();
21 static void ParseGeometryOverride(
const QString& Geometry);
22 static QRect GetGeometryOverride();
23 static bool WindowIsAlwaysFullscreen();
26 QRect GetUIScreenRect();
27 void SetUIScreenRect(QRect Rect);
28 QRect GetScreenRect();
29 QSize NormSize(QSize Size)
const;
30 int NormX(
int X)
const;
31 int NormY(
int Y)
const;
35 int GetFontStretch()
const;
36 void SetFontStretch(
int Stretch);
40 void InitScreenBounds();
42 QSize m_themeSize { 1920, 1080 };
43 QRect m_uiScreenRect { 0, 0, 1920, 1080 };
44 QRect m_screenRect { 0, 0, 1920, 1080 };
45 float m_screenHorizScale { 1.0 };
46 float m_screenVertScale { 1.0 };
47 bool m_wantWindow {
false };
48 bool m_wantFullScreen {
true };
49 bool m_qtFullScreen {
false };
50 bool m_alwaysOnTop {
false };
51 int m_fontStretch { 100 };
52 bool m_forceFullScreen {
false };