45 bool meetsMinRes( )
const;
51 bool windowUnderCursor(
RE_IDType wid,
int x,
int y)
const;
58 bool getColorUnderCursor(
float color[3])
const;
67 bool GLSwapBuffers(
RE_Window *currentWindow);
78 static int primaryScreenNum();
79 static int numScreens();
80 static int screenContaining(
int x,
int y,
bool native=
false);
81 static const UT_DimRect &screenArea(
int screen_num);
82 static const UT_DimRect &nativeScreenArea(
int screen_num);
83 static const UT_DimRect &workArea(
int screen_num);
84 static const UT_DimRect &nativeWorkArea(
int screen_num);
85 static const UT_DimRect &displayScreenArea(
int screen_num);
86 static const UT_DimRect &displayWorkArea(
int screen_num);
87 static fpreal screenToDeviceScale(
int screen_num);
88 static fpreal physicalDPI(
int screen_num);
97 static void toScreenCoords(
int &
x,
int &
y);
98 static void fromScreenCoords(
int &
x,
int &
y);
105 static void toScreenScale(
int screen,
int &
value);
106 static void fromScreenScale(
int screen,
int &
value);
110 void addCurrentMainWindow(
RE_Window *win);
113 void removeCurrentMainWindow(
RE_Window *win);
123 RE_Window *getFirstCurrentMainWindow()
const;
139 static bool isAppExiting();
144 static void setAppExiting();
149 bool makeContextCurrent(
162 static int myMinXRes;
163 static int myMinYRes;
static fpreal64 getDragDelay()
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
RE_IDType getFocusWindow() const
#define SYS_NO_DISCARD_RESULT
QOpenGLContext * RE_OGLContext