Blender
V3.3
|
#include <GHOST_SystemNULL.h>
Definition at line 17 of file GHOST_SystemNULL.h.
|
inline |
Definition at line 19 of file GHOST_SystemNULL.h.
|
inline |
Definition at line 22 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Create a new off-screen context. Never explicitly delete the context, use disposeContext() instead.
Implements GHOST_System.
Definition at line 70 of file GHOST_SystemNULL.h.
|
inlinevirtual |
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. |
type | The type of drawing context installed in this window. |
glSettings | Misc OpenGL 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 94 of file GHOST_SystemNULL.h.
References GHOST_GLSettings::flags, GHOST_glStereoVisual, height, left, state, top, type, and width.
|
inlinevirtual |
Dispose of a context.
context | Pointer to the context to be disposed. |
Implements GHOST_ISystem.
Definition at line 74 of file GHOST_SystemNULL.h.
References GHOST_kFailure.
|
inlinevirtual |
Returns the combine dimensions of all monitors.
Implements GHOST_ISystem.
Definition at line 67 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Returns the state of the mouse buttons (outside the message queue).
buttons | The state of the buttons. |
Implements GHOST_System.
Definition at line 37 of file GHOST_SystemNULL.h.
References GHOST_kSuccess.
|
inlinevirtual |
Returns the selection buffer
selection | Only used on X11. |
Implements GHOST_System.
Definition at line 41 of file GHOST_SystemNULL.h.
|
inlinevirtual |
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 56 of file GHOST_SystemNULL.h.
References GHOST_kFailure.
|
inlinevirtual |
Returns the dimensions of the main display on this system.
Implements GHOST_ISystem.
Definition at line 64 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Returns the system time. Returns the number of milliseconds since the start of the system process. Based on ANSI clock() routine.
Reimplemented from GHOST_System.
Definition at line 48 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Returns the state of all modifier keys.
keys | The state of all modifier keys (true == pressed). |
Implements GHOST_System.
Definition at line 33 of file GHOST_SystemNULL.h.
References GHOST_kSuccess.
|
inlinevirtual |
Returns the number of displays on this system.
Implements GHOST_ISystem.
Definition at line 52 of file GHOST_SystemNULL.h.
|
inlinevirtual |
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 118 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Initialize the system.
Reimplemented from GHOST_System.
Definition at line 79 of file GHOST_SystemNULL.h.
References GHOST_kFailure, GHOST_kSuccess, GHOST_System::init(), and GHOST_System::m_displayManager.
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 25 of file GHOST_SystemNULL.h.
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 45 of file GHOST_SystemNULL.h.
|
inlinevirtual |
Set the Console State
action | console state |
Implements GHOST_ISystem.
Definition at line 29 of file GHOST_SystemNULL.h.
|
inlinevirtual |
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 60 of file GHOST_SystemNULL.h.
References GHOST_kFailure.