#include <RE_Server.h>
Definition at line 39 of file RE_Server.h.
RE_Server::~RE_Server |
( |
| ) |
|
Add a window to the list of current main windows. If it is already in the list, it will not be added again.
static const UT_DimRect& RE_Server::displayScreenArea |
( |
int |
screen_num | ) |
|
|
static |
static const UT_DimRect& RE_Server::displayWorkArea |
( |
int |
screen_num | ) |
|
|
static |
void RE_Server::flush |
( |
| ) |
const |
static void RE_Server::fromScreenCoords |
( |
int & |
x, |
|
|
int & |
y |
|
) |
| |
|
static |
static void RE_Server::fromScreenScale |
( |
int |
screen, |
|
|
int & |
value |
|
) |
| |
|
static |
The current main windows are all the toplevel application windows. We keep track of them to find out what window we should use when creating dialogs - windowing systems can decorate and treat dialog windows differently if they know which window is the parent.
bool RE_Server::getColorUnderCursor |
( |
float |
color[3] | ) |
const |
Returns current render context matching the mode passed in. All render contexts are tied to a specific drawable. This may return nullptr if there are no render contexts currently created that match mode.
RE_Window* RE_Server::getCurrentMainWindow |
( |
| ) |
const |
Find the current main window that's focused, so you can attach dialog windows to it. If none is marked as focused, just returns the first window.
static fpreal64 RE_Server::getDragDelay |
( |
| ) |
|
|
inlinestatic |
static int RE_Server::getDragTolX |
( |
| ) |
|
|
inlinestatic |
static int RE_Server::getDragTolY |
( |
| ) |
|
|
inlinestatic |
RE_Window* RE_Server::getFirstCurrentMainWindow |
( |
| ) |
const |
Find the first current main window, regardless of whether it's focused. Used on Windows to ensure that all subwindows are made tool windows of at least the main Houdini window.
RE_IDType RE_Server::getFocusWindow |
( |
| ) |
const |
|
inline |
static int RE_Server::getMinXRes |
( |
| ) |
|
|
inlinestatic |
static int RE_Server::getMinYRes |
( |
| ) |
|
|
inlinestatic |
bool RE_Server::GLSwapBuffers |
( |
RE_Window * |
currentWindow | ) |
|
void RE_Server::GLWaitGL |
( |
| ) |
|
static bool RE_Server::hasServer |
( |
| ) |
|
|
static |
bool RE_Server::initServer |
( |
| ) |
|
static bool RE_Server::isAppExiting |
( |
| ) |
|
|
static |
Return whether the Qt objects are valid or not. Qt objects are not valid when the Qt main event loop has exited.
bool RE_Server::meetsMinRes |
( |
| ) |
const |
static const UT_DimRect& RE_Server::nativeScreenArea |
( |
int |
screen_num | ) |
|
|
static |
static const UT_DimRect& RE_Server::nativeWorkArea |
( |
int |
screen_num | ) |
|
|
static |
static int RE_Server::numScreens |
( |
| ) |
|
|
static |
static fpreal RE_Server::physicalDPI |
( |
int |
screen_num | ) |
|
|
static |
static int RE_Server::primaryScreenNum |
( |
| ) |
|
|
static |
Remove a window from the list of current main windows.
static int RE_Server::screenContaining |
( |
int |
x, |
|
|
int |
y, |
|
|
bool |
native = false |
|
) |
| |
|
static |
static fpreal RE_Server::screenToDeviceScale |
( |
int |
screen_num | ) |
|
|
static |
static void RE_Server::setAppExiting |
( |
| ) |
|
|
static |
This method should only be called when the Qt main event loop has exited. It lets RE know that it is no longer safe to work with any Qt objects.
static void RE_Server::toScreenCoords |
( |
int & |
x, |
|
|
int & |
y |
|
) |
| |
|
static |
static void RE_Server::toScreenScale |
( |
int |
screen, |
|
|
int & |
value |
|
) |
| |
|
static |
Convert from a value that is scaled in Houdini UI space to a value that is scaled in screen space and vice versa. }@
static const UT_DimRect& RE_Server::virtualScreenArea |
( |
| ) |
|
|
static |
static const UT_DimRect& RE_Server::virtualWorkArea |
( |
| ) |
|
|
static |
Determine if the given window (and not a child window) is currently under the mouse. The current x,y mouse coordinates are optional under certain platforms
static RE_IDType RE_Server::windowUnderCursor |
( |
| ) |
|
|
static |
Return the id of the Houdini window that appears immediately underneath the mouse cursor. Return 0/nullptr if there is no Houdini window immediately underneath the mouse cursor.
The documentation for this class was generated from the following file: