|
Blender V4.3
|
#include <GHOST_SystemHeadless.hh>
Inherits GHOST_System.
Definition at line 24 of file GHOST_SystemHeadless.hh.
|
inline |
Definition at line 26 of file GHOST_SystemHeadless.hh.
|
overridedefault |
|
inlineoverridevirtual |
Create a new off-screen context. Never explicitly delete the context, use disposeContext() instead.
Implements GHOST_System.
Definition at line 85 of file GHOST_SystemHeadless.hh.
References GHOST_OPENGL_EGL_CONTEXT_FLAGS, and GHOST_OPENGL_EGL_RESET_NOTIFICATION_STRATEGY.
|
inlineoverridevirtual |
Create a new window. The new window is added to the list of windows managed. Never explicitly delete the window, use disposeWindow() instead.
| title | The name of the window (displayed in the title bar of the window if the OS supports it). |
| left | The coordinate of the left edge of the window. |
| top | The coordinate of the top edge of the window. |
| width | The width the window. |
| height | The height the window. |
| state | The state of the window when opened. |
| gpuSettings | Misc GPU settings. |
| exclusive | Use to show the window on top and ignore others (used full-screen). |
| is_dialog | Stay on top of parent window, no icon in taskbar, can't be minimized. |
| parentWindow | Parent (embedder) window |
Implements GHOST_ISystem.
Definition at line 135 of file GHOST_SystemHeadless.hh.
References GHOST_GPUSettings::context_type, GHOST_GPUSettings::flags, GHOST_gpuStereoVisual, and state.
|
inlineoverridevirtual |
Dispose of a context.
| context | Pointer to the context to be disposed. |
Implements GHOST_ISystem.
Definition at line 113 of file GHOST_SystemHeadless.hh.
References GHOST_kSuccess.
|
inlineoverridevirtual |
Returns the combine dimensions of all monitors.
Implements GHOST_ISystem.
Definition at line 82 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Returns the state of the mouse buttons (outside the message queue).
| buttons | The state of the buttons. |
Implements GHOST_System.
Definition at line 43 of file GHOST_SystemHeadless.hh.
References GHOST_kSuccess.
|
inlineoverridevirtual |
Return features supported by the system back-end.
The resulting value doesn't change at run-time.
Implements GHOST_ISystem.
Definition at line 47 of file GHOST_SystemHeadless.hh.
References GHOST_CAPABILITY_FLAG_ALL, GHOST_kCapabilityClipboardImages, GHOST_kCapabilityCursorWarp, GHOST_kCapabilityDesktopSample, GHOST_kCapabilityInputIME, GHOST_kCapabilityPrimaryClipboard, and GHOST_kCapabilityWindowPosition.
|
inlineoverridevirtual |
Returns the selection buffer
| selection | Only used on X11. |
Implements GHOST_System.
Definition at line 56 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Returns the current location of the cursor (location in screen coordinates)
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Definition at line 71 of file GHOST_SystemHeadless.hh.
References GHOST_kFailure.
|
inlineoverridevirtual |
Returns the dimensions of the main display on this system.
Implements GHOST_ISystem.
Definition at line 79 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Returns the system time. Returns the number of milliseconds since the start of the system.
Implements GHOST_ISystem.
Definition at line 63 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Returns the state of all modifier keys.
| keys | The state of all modifier keys (true == pressed). |
Implements GHOST_System.
Definition at line 39 of file GHOST_SystemHeadless.hh.
References GHOST_kSuccess.
|
inlineoverridevirtual |
Returns the number of displays on this system.
Implements GHOST_ISystem.
Definition at line 67 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Get the Window under the cursor.
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Reimplemented from GHOST_System.
Definition at line 157 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Initialize the system.
Reimplemented from GHOST_System.
Definition at line 120 of file GHOST_SystemHeadless.hh.
References GHOST_kFailure, GHOST_kSuccess, GHOST_System::init(), and GHOST_System::m_displayManager.
|
inlineoverridevirtual |
Retrieves events from the system and stores them in the queue.
| waitForEvent | Flag to wait for an event (or return immediately). |
Implements GHOST_ISystem.
Definition at line 31 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Put data to the Clipboard
| buffer | The buffer to copy to the clipboard. |
| selection | The clipboard to copy too only used on X11. |
Implements GHOST_System.
Definition at line 60 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Set the Console State
| action | console state |
Implements GHOST_ISystem.
Definition at line 35 of file GHOST_SystemHeadless.hh.
|
inlineoverridevirtual |
Updates the location of the cursor (location in screen coordinates). Not all operating systems allow the cursor to be moved (without the input device being moved).
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Definition at line 75 of file GHOST_SystemHeadless.hh.
References GHOST_kFailure.