|
Blender V5.3
|
Go to the source code of this file.
Classes | |
| struct | GHOST_CursorBitmapRef |
| struct | GHOST_CursorGenerator |
| struct | GHOST_IconGenerator |
| struct | GHOST_TabletData |
| struct | GHOST_TEventCursorData |
| struct | GHOST_TEventButtonData |
| struct | GHOST_TEventWheelData |
| struct | GHOST_TEventTrackpadData |
| struct | GHOST_TEventDragnDropData |
| struct | GHOST_TEventImeData |
| struct | GHOST_TStringArray |
| struct | GHOST_TEventKeyData |
| struct | GHOST_GPUDevice |
| struct | GHOST_ContextParams |
| struct | GHOST_GPUSettings |
| struct | GHOST_WindowDecorationStyleSettings |
| struct | GHOST_WindowHDRInfo |
| struct | GHOST_Debug |
| struct | GHOST_CSD_Elem |
| struct | GHOST_CSD_Layout |
| struct | GHOST_CSD_Params |
Typedefs | |
| using | GHOST_TBacktraceFn = void (*)(FILE *file_handle) |
| using | GHOST_TUserDataPtr = void * |
| using | GHOST_TEventDataPtr = const void * |
| using | GHOST_TDragnDropDataPtr = void * |
| using | GHOST_TEmbedderWindowID = int |
| using | GHOST_TimerProcPtr = void (*)(GHOST_ITimerTask *task, uint64_t time) |
Variables | |
| static const GHOST_TabletData | GHOST_TABLET_DATA_NONE |
| #define _GHOST_KEY_MODIFIER_MAX GHOST_kKeyRightHyper |
Definition at line 533 of file GHOST_Types.hh.
| #define _GHOST_KEY_MODIFIER_MIN GHOST_kKeyLeftShift |
Definition at line 520 of file GHOST_Types.hh.
| #define GHOST_CAPABILITY_FLAG_ALL |
Back-ends should use this, masking out features which are not supported with notes as to why those features cannot be supported.
Definition at line 195 of file GHOST_Types.hh.
Referenced by GHOST_SystemCocoa::getCapabilities(), GHOST_SystemHeadless::getCapabilities(), GHOST_SystemSDL::getCapabilities(), GHOST_SystemWayland::getCapabilities(), GHOST_SystemWin32::getCapabilities(), and GHOST_SystemX11::getCapabilities().
| #define GHOST_CONTEXT_PARAMS_FROM_GPU_SETTINGS | ( | gpu_settings | ) |
Definition at line 883 of file GHOST_Types.hh.
Referenced by GHOST_SystemCocoa::createWindow(), GHOST_SystemHeadless::createWindow(), GHOST_SystemWayland::createWindow(), GHOST_SystemWin32::createWindow(), and GHOST_SystemX11::createWindow().
| #define GHOST_CONTEXT_PARAMS_FROM_GPU_SETTINGS_OFFSCREEN | ( | gpu_settings | ) |
Definition at line 874 of file GHOST_Types.hh.
Referenced by GHOST_SystemCocoa::createOffscreenContext(), GHOST_SystemHeadless::createOffscreenContext(), GHOST_SystemSDL::createOffscreenContext(), GHOST_SystemWayland::createOffscreenContext(), GHOST_SystemWin32::createOffscreenContext(), and GHOST_SystemX11::createOffscreenContext().
| #define GHOST_CONTEXT_PARAMS_NONE |
Definition at line 865 of file GHOST_Types.hh.
Referenced by GHOST_SystemWin32::createOffscreenContextD3D(), and GHOST_Window::GHOST_Window().
| #define GHOST_CSD_DPI_FRACTIONAL_BASE 96 |
Definition at line 1132 of file GHOST_Types.hh.
Referenced by blender::playanim_window_contains_point(), blender::WM_window_csd_draw_corner_mask(), blender::WM_window_csd_draw_titlebar_ex(), and blender::WM_window_csd_rect_calc().
| #define GHOST_GRAB_NEEDS_SOFTWARE_CURSOR_FOR_WARP | ( | grab | ) |
Definition at line 628 of file GHOST_Types.hh.
| #define GHOST_kButtonNum (int(GHOST_kButtonMaskButton7) + 1) |
Definition at line 317 of file GHOST_Types.hh.
| #define GHOST_kCSDType_NUM (int(GHOST_kCSDTypeTitlebar) + 1) |
Definition at line 1109 of file GHOST_Types.hh.
Referenced by blender::playanim_window_contains_point(), blender::WM_window_csd_draw_titlebar_ex(), and blender::WM_window_csd_rect_calc().
| #define GHOST_KEY_MODIFIER_CHECK | ( | key | ) |
Definition at line 612 of file GHOST_Types.hh.
Referenced by keyboard_depressed_state_key_event(), and GHOST_SystemWin32::processKeyEvent().
| #define GHOST_KEY_MODIFIER_FROM_INDEX | ( | key | ) |
Definition at line 610 of file GHOST_Types.hh.
Referenced by keyboard_depressed_state_push_events_from_change().
| #define GHOST_KEY_MODIFIER_NUM ((_GHOST_KEY_MODIFIER_MAX - _GHOST_KEY_MODIFIER_MIN) + 1) |
Definition at line 608 of file GHOST_Types.hh.
Referenced by keyboard_depressed_state_push_events_from_change(), and keyboard_depressed_state_reset().
| #define GHOST_KEY_MODIFIER_TO_INDEX | ( | key | ) |
Definition at line 609 of file GHOST_Types.hh.
Referenced by GHOST_SystemWayland::getModifierKeys(), and keyboard_depressed_state_key_event().
| #define GHOST_kNumEventTypes (GHOST_kEventImeCompositionEnd + 1) |
Definition at line 395 of file GHOST_Types.hh.
Referenced by blender::wm_event_add_ghostevent().
| #define GHOST_kStandardCursorFirstCursor int(GHOST_kStandardCursorDefault) |
Definition at line 399 of file GHOST_Types.hh.
| #define GHOST_kStandardCursorNumCursors (int(GHOST_kStandardCursorCustom) + 1) |
Definition at line 452 of file GHOST_Types.hh.
| #define GHOST_kUserSpecialDirType_Num (GHOST_kUserSpecialDirCaches + 1) |
Definition at line 795 of file GHOST_Types.hh.
Referenced by GHOST_SystemPathsUnix::getUserSpecialDir().
| #define GHOST_WINDOW_HDR_INFO_NONE |
Definition at line 917 of file GHOST_Types.hh.
Referenced by GHOST_WindowWin32::updateHDRInfo().
| using GHOST_TBacktraceFn = void (*)(FILE *file_handle) |
Definition at line 23 of file GHOST_Types.hh.
| using GHOST_TDragnDropDataPtr = void * |
Definition at line 698 of file GHOST_Types.hh.
| using GHOST_TEmbedderWindowID = int |
Definition at line 1073 of file GHOST_Types.hh.
| using GHOST_TEventDataPtr = const void * |
Definition at line 637 of file GHOST_Types.hh.
| using GHOST_TimerProcPtr = void (*)(GHOST_ITimerTask *task, uint64_t time) |
Definition at line 1082 of file GHOST_Types.hh.
| using GHOST_TUserDataPtr = void * |
Definition at line 25 of file GHOST_Types.hh.
| enum GHOST_DialogOptions |
| Enumerator | |
|---|---|
| GHOST_DialogWarning | |
| GHOST_DialogError | |
Definition at line 110 of file GHOST_Types.hh.
| enum GHOST_GPUFlags |
| Enumerator | |
|---|---|
| GHOST_gpuStereoVisual | |
| GHOST_gpuDebugContext | |
| GHOST_gpuVSyncIsOverridden | |
| GHOST_gpuNoHWRaytracing | |
Definition at line 103 of file GHOST_Types.hh.
| enum GHOST_NDOF_ButtonT |
NDOF device button event types.
SpaceMouse devices ship with an internal identifier number for each button. Deprecated versions of the 3DxWare SDK have a virtualkeys.h header file where some of these numbers are found but it is basically an arbitrary assignment made by the vendor (3Dconnexion) since the application has the freedom to override as necessary.
Definition at line 1350 of file GHOST_Types.hh.
| enum GHOST_TAxisFlag |
| Enumerator | |
|---|---|
| GHOST_kAxisNone | Axis that cursor grab will wrap. |
| GHOST_kAxisX | |
| GHOST_kAxisY | |
Definition at line 630 of file GHOST_Types.hh.
| enum GHOST_TButton |
Set "None" as -1 so this can be used as an index.
Definition at line 306 of file GHOST_Types.hh.
Static flag (relating to the back-ends support for features).
| Enumerator | |
|---|---|
| GHOST_kCapabilityCursorWarp | Set when warping the cursor is supported (re-positioning the users cursor). |
| GHOST_kCapabilityWindowPosition | Set when getting/setting the window position is supported. |
| GHOST_kCapabilityClipboardPrimary | Set when a separate primary clipboard is supported. This is a convention for X11/WAYLAND, select text & MMB to paste (without an explicit copy). |
| GHOST_kCapabilityGPUReadFrontBuffer | Support for reading the front-buffer. |
| GHOST_kCapabilityClipboardImage | Set when there is support for system clipboard copy/paste. |
| GHOST_kCapabilityDesktopSample | Support for sampling a color outside of the Blender windows. |
| GHOST_kCapabilityInputIME | Supports IME text input methods (when WITH_INPUT_IME is defined). |
| GHOST_kCapabilityTrackpadPhysicalDirection | Support detecting the physical trackpad direction. |
| GHOST_kCapabilityWindowDecorationStyles | Support for window decoration styles. |
| GHOST_kCapabilityKeyboardHyperKey | Support for the "Hyper" modifier key. |
| GHOST_kCapabilityCursorRGBA | Support for creation of RGBA mouse cursors. This flag is likely to be temporary as our intention is to implement on all platforms. |
| GHOST_kCapabilityCursorGenerator | Setting cursors via GHOST_IWindow::setCursorShape is supported. |
| GHOST_kCapabilityMultiMonitorPlacement | Support accurately placing windows on multiple monitors. |
| GHOST_kCapabilityWindowPath | A "path" for a window is supported. This indicates that GHOST_IWindow::setPath can be used without the need to include the windows file-path in its title. |
| GHOST_kCapabilityWindowDecorationServerSide | Support for window decoration styles on the "server". In other words the windowing system is capable of showing window decorations. Otherwise client-side-decorations should be used, see: WITH_GHOST_CSD. |
Definition at line 122 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kConsoleWindowStateHide | |
| GHOST_kConsoleWindowStateShow | |
| GHOST_kConsoleWindowStateToggle | |
| GHOST_kConsoleWindowStateHideForNonConsoleLaunch | |
Definition at line 280 of file GHOST_Types.hh.
| enum GHOST_TCSD_Type |
Definition at line 1085 of file GHOST_Types.hh.
| enum GHOST_TDebugFlags |
| Enumerator | |
|---|---|
| GHOST_kDebugDefault | Axis that cursor grab will wrap. |
| GHOST_kDebugWintab | |
Definition at line 1056 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kDragnDropTypeUnknown | |
| GHOST_kDragnDropTypeFilenames | |
| GHOST_kDragnDropTypeString | |
| GHOST_kDragnDropTypeBitmap | |
Definition at line 691 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kDrawingContextTypeNone | |
Definition at line 289 of file GHOST_Types.hh.
| enum GHOST_TEventType |
| Enumerator | |
|---|---|
| GHOST_kEventUnknown | |
| GHOST_kEventCursorMove | Mouse move event.
|
| GHOST_kEventButtonDown | Mouse button down event. |
| GHOST_kEventButtonUp | Mouse button up event. |
| GHOST_kEventWheel | Vertical/Horizontal mouse wheel event.
|
| GHOST_kEventTrackpad | Trackpad event.
|
| GHOST_kEventKeyDown | Keyboard up/down events. Includes repeat events, check GHOST_TEventKeyData::is_repeat if detecting repeat events is needed.
|
| GHOST_kEventKeyUp | |
| GHOST_kEventQuitRequest | |
| GHOST_kEventWindowClose | |
| GHOST_kEventWindowActivate | |
| GHOST_kEventWindowDeactivate | |
| GHOST_kEventWindowUpdate | |
| GHOST_kEventWindowUpdateDecor | Client side window decorations have changed and need to be redrawn. |
| GHOST_kEventWindowSize | |
| GHOST_kEventWindowMove | |
| GHOST_kEventWindowDPIHintChanged | |
| GHOST_kEventDraggingEntered | |
| GHOST_kEventDraggingUpdated | |
| GHOST_kEventDraggingExited | |
| GHOST_kEventDraggingDropDone | |
| GHOST_kEventOpenMainFile | |
| GHOST_kEventNativeResolutionChange | |
| GHOST_kEventImeCompositionStart | |
| GHOST_kEventImeComposition | |
| GHOST_kEventImeCompositionEnd | |
Definition at line 320 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kEventWheelAxisVertical | |
| GHOST_kEventWheelAxisHorizontal | |
Definition at line 655 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kFireTimeNever | |
Definition at line 240 of file GHOST_Types.hh.
Definition at line 614 of file GHOST_Types.hh.
| enum GHOST_TKey |
Definition at line 455 of file GHOST_Types.hh.
| enum GHOST_TModifierKey |
Definition at line 242 of file GHOST_Types.hh.
| enum GHOST_TProgress |
Keep in sync with #wmProgress.
| Enumerator | |
|---|---|
| GHOST_kNotStarted | |
| GHOST_kStarting | |
| GHOST_kInProgress | |
| GHOST_kFinishing | |
| GHOST_kFinished | |
Definition at line 734 of file GHOST_Types.hh.
Definition at line 398 of file GHOST_Types.hh.
| enum GHOST_TSuccess |
| Enumerator | |
|---|---|
| GHOST_kFailure | |
| GHOST_kSuccess | |
Definition at line 27 of file GHOST_Types.hh.
| enum GHOST_TTabletAPI |
| Enumerator | |
|---|---|
| GHOST_kTabletAutomatic | |
| GHOST_kTabletWinPointer | |
| GHOST_kTabletWintab | |
Definition at line 217 of file GHOST_Types.hh.
| enum GHOST_TTabletMode |
| Enumerator | |
|---|---|
| GHOST_kTabletModeNone | |
| GHOST_kTabletModeStylus | |
| GHOST_kTabletModeEraser | |
Definition at line 211 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kTrackpadEventUnknown | |
| GHOST_kTrackpadEventScroll | |
| GHOST_kTrackpadEventRotate | |
| GHOST_kTrackpadEventSwipe | |
| GHOST_kTrackpadEventMagnify | |
| GHOST_kTrackpadEventSmartMagnify | |
Definition at line 667 of file GHOST_Types.hh.
Definition at line 785 of file GHOST_Types.hh.
| enum GHOST_TVisibility |
| Enumerator | |
|---|---|
| GHOST_kNotVisible | |
| GHOST_kPartiallyVisible | |
| GHOST_kFullyVisible | |
Definition at line 238 of file GHOST_Types.hh.
| enum GHOST_TVSyncModes |
Options for VSync.
Definition at line 832 of file GHOST_Types.hh.
| Enumerator | |
|---|---|
| GHOST_kDecorationNone | |
| GHOST_kDecorationColoredTitleBar | |
Definition at line 797 of file GHOST_Types.hh.
| enum GHOST_TWindowOrder |
| Enumerator | |
|---|---|
| GHOST_kWindowOrderTop | |
| GHOST_kWindowOrderBottom | |
Definition at line 287 of file GHOST_Types.hh.
| enum GHOST_TWindowState |
| Enumerator | |
|---|---|
| GHOST_kWindowStateNormal | |
| GHOST_kWindowStateMaximized | |
| GHOST_kWindowStateMinimized | |
| GHOST_kWindowStateFullScreen | |
Definition at line 273 of file GHOST_Types.hh.
Window edges the compositor has tiled against something else (a screen edge or another window). Decorations are expected to square off against a tiled edge. See GHOST_IWindow::getTiledEdges.
| Enumerator | |
|---|---|
| GHOST_kWindowTiledNone | |
| GHOST_kWindowTiledLeft | |
| GHOST_kWindowTiledRight | |
| GHOST_kWindowTiledTop | |
| GHOST_kWindowTiledBottom | |
Definition at line 261 of file GHOST_Types.hh.
|
static |
Definition at line 232 of file GHOST_Types.hh.
Referenced by pointer_handle_enter(), pointer_handle_frame(), relative_pointer_handle_relative_motion_impl(), and touch_seat_handle_frame().