38 static bool hasServer();
47 bool meetsMinRes( )
const;
53 bool windowUnderCursor(
RE_IDType wid,
int x,
int y)
const;
60 bool getColorUnderCursor(
float color[3])
const;
65 bool swapBuffers(
RE_Window *currentWindow);
72 bool GLSwapBuffers(
RE_Window *currentWindow);
87 static int primaryScreenNum();
88 static int numScreens();
93 static int screenContaining(
const QWidget *widget);
95 static int screenContaining(
int x,
int y,
bool native=
false);
96 static const UT_DimRect &screenArea(
int screen_num);
97 static const UT_DimRect &nativeScreenArea(
int screen_num);
98 static const UT_DimRect &workArea(
int screen_num);
99 static const UT_DimRect &nativeWorkArea(
int screen_num);
100 static const UT_DimRect &displayScreenArea(
int screen_num);
101 static const UT_DimRect &displayWorkArea(
int screen_num);
102 static fpreal screenToDeviceScale(
int screen_num);
103 static fpreal physicalDPI(
int screen_num);
112 static void toScreenCoords(
int &
x,
int &
y);
113 static void fromScreenCoords(
int &
x,
int &
y);
120 static void toScreenScale(
int screen,
int &
value);
121 static void fromScreenScale(
int screen,
int &
value);
125 void addCurrentMainWindow(
RE_Window *win);
128 void removeCurrentMainWindow(
RE_Window *win);
138 RE_Window *getFirstCurrentMainWindow()
const;
154 static bool isAppExiting();
159 static void setAppExiting();
164 static bool useNewWindowDrawable();
170 static bool useNewUISkin();
178 bool makeContextCurrent(
192 static int myMinXRes;
193 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