39 static bool hasServer();
48 bool meetsMinRes( )
const;
54 bool windowUnderCursor(
RE_IDType wid,
int x,
int y)
const;
61 bool getColorUnderCursor(
float color[3])
const;
68 bool swapBuffers(
RE_Window *currentWindow);
75 bool GLSwapBuffers(
RE_Window *currentWindow);
90 static int primaryScreenNum();
91 static int numScreens();
96 static int screenContaining(
const QWidget *widget);
98 static int screenContaining(
int x,
int y,
bool native=
false);
99 static const UT_DimRect &screenArea(
int screen_num);
100 static const UT_DimRect &nativeScreenArea(
int screen_num);
101 static const UT_DimRect &workArea(
int screen_num);
102 static const UT_DimRect &nativeWorkArea(
int screen_num);
103 static const UT_DimRect &displayScreenArea(
int screen_num);
104 static const UT_DimRect &displayWorkArea(
int screen_num);
105 static fpreal screenToDeviceScale(
int screen_num);
106 static fpreal physicalDPI(
int screen_num);
109 static fpreal defaultDevicePixelRatio();
116 static void toScreenCoords(
int &
x,
int &
y);
117 static void fromScreenCoords(
int &
x,
int &
y);
124 static void toScreenScale(
int screen,
int &
value);
125 static void fromScreenScale(
int screen,
int &
value);
129 void addCurrentMainWindow(
RE_Window *win);
132 void removeCurrentMainWindow(
RE_Window *win);
142 RE_Window *getFirstCurrentMainWindow()
const;
158 static bool isAppExiting();
163 static void setAppExiting();
168 static bool useNewWindowDrawable();
174 static bool useNewUISkin();
178 static bool useNewGLDrawable();
183 static bool usePythonQStyle();
186 static bool useNewUISkinDefault();
189 static void setUseNewUISkinDefault(
bool use_new_ui);
197 bool makeContextCurrent(
211 static int myMinXRes;
212 static int myMinYRes;
==========================================================================
GLsizei const GLfloat * value
static fpreal64 getDragDelay()
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
RE_IDType getFocusWindow() const
GLint GLint GLsizei GLint GLenum GLenum type
#define SYS_NO_DISCARD_RESULT
QOpenGLContext * RE_OGLContext