|
Blender V5.3
|
#include <GHOST_System.hh>
Inherits GHOST_ISystem.
Inherited by GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
Public Member Functions | |
| GHOST_ITimerTask * | installTimer (uint64_t delay, uint64_t interval, GHOST_TimerProcPtr timer_proc, GHOST_TUserDataPtr user_data=nullptr) override |
| GHOST_TSuccess | removeTimer (GHOST_ITimerTask *timerTask) override |
| GHOST_TSuccess | disposeWindow (GHOST_IWindow *window) override |
| GHOST_IContext * | createOffscreenContext (GHOST_GPUSettings gpu_settings) override=0 |
| bool | validWindow (GHOST_IWindow *window) override |
| bool | useNativePixel () override |
| void | useWindowFocus (const bool use_focus) override |
| void | setAutoFocus (const bool auto_focus) override |
| GHOST_IWindow * | getWindowUnderCursor (int32_t x, int32_t y) override |
| void | dispatchEvents () override |
| GHOST_TSuccess | addEventConsumer (GHOST_IEventConsumer *consumer) override |
| GHOST_TSuccess | removeEventConsumer (GHOST_IEventConsumer *consumer) override |
| GHOST_TSuccess | getCursorPositionClientRelative (const GHOST_IWindow *window, int32_t &x, int32_t &y) const override |
| GHOST_TSuccess | setCursorPositionClientRelative (GHOST_IWindow *window, int32_t x, int32_t y) override |
| uint32_t | getCursorPreferredLogicalSize () const override |
| GHOST_TSuccess | getModifierKeyState (GHOST_TModifierKey mask, bool &is_down) const override |
| GHOST_TSuccess | getButtonState (GHOST_TButton mask, bool &is_down) const override |
| void | setMultitouchGestures (const bool use) override |
| void | setTabletAPI (GHOST_TTabletAPI api) override |
| GHOST_TTabletAPI | getTabletAPI () |
| GHOST_TSuccess | getPixelAtCursor (float r_color[3]) const override |
| char * | getClipboard (bool selection) const override=0 |
| void | putClipboard (const char *buffer, bool selection) const override=0 |
| GHOST_TSuccess | hasClipboardImage () const override |
| uint * | getClipboardImage (int *r_width, int *r_height) const override |
| GHOST_TSuccess | putClipboardImage (uint *rgba, int width, int height) const override |
| void | setWindowCSD (const GHOST_CSD_Params ¶ms) override |
| const GHOST_CSD_Params & | getWindowCSD () const |
| void | setWindowCSD_Layout (const GHOST_CSD_Layout &csd_layout) |
| const GHOST_CSD_Layout & | getWindowCSD_Layout () const override |
| void | setIconGenerator (const GHOST_IconGenerator *icon_generator) override |
| GHOST_TSuccess | showMessageBox (const char *, const char *, const char *, const char *, const char *, GHOST_DialogOptions) const override |
| GHOST_TSuccess | pushEvent (std::unique_ptr< const GHOST_IEvent > event) |
| GHOST_TimerManager * | getTimerManager () const |
| GHOST_EventManager * | getEventManager () const |
| GHOST_WindowManager * | getWindowManager () const |
| virtual GHOST_TSuccess | getModifierKeys (GHOST_ModifierKeys &keys) const =0 |
| virtual GHOST_TSuccess | getButtons (GHOST_Buttons &buttons) const =0 |
| void | initDebug (GHOST_Debug debug) override |
| bool | isDebugEnabled () override |
| Public Member Functions inherited from GHOST_ISystem | |
| virtual uint64_t | getMilliSeconds () const =0 |
| virtual uint8_t | getNumDisplays () const =0 |
| virtual void | getMainDisplayDimensions (uint32_t &width, uint32_t &height) const =0 |
| virtual void | getAllDisplayDimensions (uint32_t &width, uint32_t &height) const =0 |
| virtual GHOST_IWindow * | createWindow (const char *title, int32_t left, int32_t top, uint32_t width, uint32_t height, GHOST_TWindowState state, GHOST_GPUSettings gpu_settings, const bool exclusive=false, const bool is_dialog=false, const GHOST_IWindow *parent_window=nullptr)=0 |
| virtual GHOST_TSuccess | disposeContext (GHOST_IContext *context)=0 |
| virtual GHOST_TCapabilityFlag | getCapabilities () const =0 |
| virtual bool | processEvents (bool waitForEvent)=0 |
| virtual GHOST_TSuccess | getCursorPosition (int32_t &x, int32_t &y) const =0 |
| virtual GHOST_TSuccess | setCursorPosition (int32_t x, int32_t y)=0 |
| virtual bool | setConsoleWindowState (GHOST_TConsoleWindowState action)=0 |
Public Attributes | |
| bool | native_pixel_ |
| bool | window_focus_ |
| bool | auto_focus_ |
| GHOST_CSD_Params | window_csd_params_ |
| GHOST_CSD_Layout | window_csd_layout_ |
| const GHOST_IconGenerator * | icon_generator_ = nullptr |
Protected Member Functions | |
| GHOST_System () | |
| ~GHOST_System () override | |
| GHOST_TSuccess | init () override |
| GHOST_TSuccess | exit () override |
| Protected Member Functions inherited from GHOST_ISystem | |
| GHOST_ISystem () | |
| virtual | ~GHOST_ISystem ()=default |
Protected Attributes | |
| GHOST_TimerManager * | timer_manager_ |
| GHOST_WindowManager * | window_manager_ |
| GHOST_EventManager * | event_manager_ |
| bool | multitouch_gestures_ |
| GHOST_TTabletAPI | tablet_api_ |
| bool | is_debug_enabled_ |
Additional Inherited Members | |
| Static Public Member Functions inherited from GHOST_ISystem | |
| static GHOST_TSuccess | createSystem (bool verbose=true, bool background=false) |
| static GHOST_TSuccess | createSystemBackground () |
| static GHOST_TSuccess | disposeSystem () |
| static GHOST_ISystem * | getSystem () |
| static const char * | getSystemBackend () |
| static GHOST_TBacktraceFn | getBacktraceFn () |
| static void | setBacktraceFn (GHOST_TBacktraceFn backtrace_fn) |
| static bool | getUseWindowFrame () |
| static void | setUseWindowFrame (bool use_window_frame) |
| Static Protected Attributes inherited from GHOST_ISystem | |
| static GHOST_ISystem * | system_ = nullptr |
| static const char * | system_backend_id_ = nullptr |
| static GHOST_TBacktraceFn | backtrace_fn_ = nullptr |
| static bool | use_window_frame_ = true |
Implementation of platform independent functionality of the GHOST_ISystem interface. GHOST_System is an abstract class because not all methods of GHOST_ISystem are implemented.
Definition at line 37 of file GHOST_System.hh.
|
protected |
Constructor. Protected default constructor to force use of static createSystem member.
Definition at line 20 of file GHOST_System.cc.
References auto_focus_, native_pixel_, window_csd_params_, and window_focus_.
Referenced by GHOST_SystemHeadless::createOffscreenContext(), GHOST_SystemHeadless::GHOST_SystemHeadless(), GHOST_SystemSDL::GHOST_SystemSDL(), GHOST_SystemWayland::GHOST_SystemWayland(), and GHOST_SystemX11::GHOST_SystemX11().
|
overrideprotected |
Destructor. Protected default constructor to force use of static dispose member.
Definition at line 38 of file GHOST_System.cc.
References exit().
|
overridevirtual |
Adds the given event consumer to our list.
| consumer | The event consumer to add. |
Implements GHOST_ISystem.
Definition at line 184 of file GHOST_System.cc.
References GHOST_EventManager::addConsumer(), event_manager_, and GHOST_kFailure.
|
overridepure virtual |
Create a new off-screen context. Never explicitly delete the context, use disposeContext() instead.
Implements GHOST_ISystem.
Implemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
References useNativePixel(), and validWindow().
|
overridevirtual |
Inherited from GHOST_ISystem but left pure virtual
virtual bool processEvents(bool waitForEvent) = 0;
Retrieves events from the queue and send them to the event consumers. The event stack will be empty afterwards.
Implements GHOST_ISystem.
Definition at line 168 of file GHOST_System.cc.
References GHOST_EventManager::dispatchEvents(), event_manager_, GHOST_TimerManager::fireTimers(), GHOST_ISystem::getMilliSeconds(), and timer_manager_.
Referenced by GHOST_SystemWin32::processWindowSizeEvent(), and GHOST_SystemWin32::s_wndProc().
|
overridevirtual |
Dispose a window.
| window | Pointer to the window to be disposed. |
Implements GHOST_ISystem.
Definition at line 113 of file GHOST_System.cc.
References event_manager_, GHOST_WindowManager::getWindowFound(), GHOST_kFailure, GHOST_WindowManager::removeWindow(), GHOST_EventManager::removeWindowEvents(), and window_manager_.
|
overrideprotectedvirtual |
Shut the system down.
WARNING: exit() may run more than once, since it may need to be called from a derived class destructor. Take it into account when modifying this function.
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWin32.
Definition at line 324 of file GHOST_System.cc.
References event_manager_, GHOST_kSuccess, timer_manager_, and window_manager_.
Referenced by GHOST_SystemWin32::exit(), getButtons(), and ~GHOST_System().
|
pure virtual |
Returns the state of the mouse buttons (outside the message queue).
| buttons | The state of the buttons. |
Implemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
References exit(), init(), initDebug(), and isDebugEnabled().
Referenced by getButtonState().
|
overridevirtual |
Returns the state of a mouse button (outside the message queue).
| mask | The button state to retrieve. |
| is_down | Button state. |
Implements GHOST_ISystem.
Definition at line 262 of file GHOST_System.cc.
References GHOST_Buttons::get(), getButtons(), and mask().
|
overridepure virtual |
Return the clipboard buffer or null.
| selection | Use the "primary" selection. Check the GHOST_kCapabilityClipboardPrimary for backends that support this. |
Implements GHOST_ISystem.
Implemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
|
overridevirtual |
Get image data from the Clipboard
| r_width | the returned image width in pixels. |
| r_height | the returned image height in pixels. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWayland, and GHOST_SystemWin32.
Definition at line 48 of file GHOST_System.cc.
Referenced by putClipboard().
|
overridevirtual |
Returns the current location of the cursor (location in window coordinates)
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWayland.
Definition at line 220 of file GHOST_System.cc.
References GHOST_ISystem::getCursorPosition(), GHOST_kSuccess, GHOST_IWindow::screenToClient(), x, and y.
|
overridevirtual |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWayland, and GHOST_SystemWin32.
Definition at line 243 of file GHOST_System.cc.
|
inline |
Definition at line 311 of file GHOST_System.hh.
References event_manager_.
Referenced by GHOST_SystemWayland::processEvents(), and GHOST_SystemWin32::s_wndProc().
|
pure virtual |
Returns the state of all modifier keys.
| keys | The state of all modifier keys (true == pressed). |
Implemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
Referenced by getModifierKeyState().
|
overridevirtual |
Inherited from GHOST_ISystem but left pure virtual
GHOST_TSuccess getCursorPosition(int32_t& x, int32_t& y) const = 0; GHOST_TSuccess setCursorPosition(int32_t x, int32_t y)
Returns the state of a modifier key (outside the message queue).
| mask | The modifier key state to retrieve. |
| is_down | The state of a modifier key (true == pressed). |
Implements GHOST_ISystem.
Definition at line 248 of file GHOST_System.cc.
References GHOST_ModifierKeys::get(), getModifierKeys(), and mask().
|
overridevirtual |
Get the color of the pixel at the current mouse cursor location
| r_color | returned sRGB float colors |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWin32, and GHOST_SystemX11.
Definition at line 291 of file GHOST_System.cc.
References GHOST_kFailure.
| GHOST_TTabletAPI GHOST_System::getTabletAPI | ( | ) |
Definition at line 286 of file GHOST_System.cc.
References tablet_api_.
Referenced by GHOST_WindowWin32::GHOST_WindowWin32().
|
inline |
Definition at line 306 of file GHOST_System.hh.
References timer_manager_.
Referenced by GHOST_SystemCocoa::processEvents(), GHOST_SystemSDL::processEvents(), GHOST_SystemWayland::processEvents(), GHOST_SystemWin32::processEvents(), and GHOST_SystemX11::processEvents().
| const GHOST_CSD_Params & GHOST_System::getWindowCSD | ( | ) | const |
Definition at line 65 of file GHOST_System.cc.
References window_csd_params_.
Referenced by putClipboard().
|
overridevirtual |
Implements GHOST_ISystem.
Definition at line 70 of file GHOST_System.cc.
References window_csd_layout_.
Referenced by putClipboard().
|
inline |
Definition at line 316 of file GHOST_System.hh.
References window_manager_.
Referenced by GHOST_SystemWin32::driveTrackpad(), gwl_window_activate(), gwl_window_frame_update_from_pending_no_lock(), GHOST_SystemWayland::output_scale_update(), GHOST_SystemWayland::output_unref(), GHOST_SystemWayland::processEvents(), GHOST_SystemWin32::processTrackpad(), GHOST_SystemWin32::processWindowEvent(), GHOST_NDOFManager::sendMotionEvent(), GHOST_SystemWin32::setTabletAPI(), and GHOST_NDOFManager::updateButton().
|
overridevirtual |
Get the Window under the cursor. Although coordinates of the mouse are supplied, platform- specific implementations are free to ignore these and query the mouse location themselves, due to them possibly being incorrect under certain conditions, for example when using multiple monitors that vary in scale and/or DPI.
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemHeadless, and GHOST_SystemWin32.
Definition at line 138 of file GHOST_System.cc.
References GHOST_IWindow::getClientBounds(), GHOST_IWindow::getState(), GHOST_WindowManager::getWindows(), GHOST_kWindowStateMinimized, GHOST_Rect::isInside(), window_manager_, x, and y.
|
overridevirtual |
Returns GHOST_kSuccess if the clipboard contains an image.
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWayland, and GHOST_SystemWin32.
Definition at line 43 of file GHOST_System.cc.
References GHOST_kFailure.
Referenced by putClipboard().
|
overrideprotectedvirtual |
Initialize the system.
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
Definition at line 305 of file GHOST_System.cc.
References GHOST_EventManager::addConsumer(), event_manager_, GHOST_EventManager::GHOST_EventManager(), GHOST_kFailure, GHOST_kSuccess, GHOST_TimerManager::GHOST_TimerManager(), GHOST_WindowManager::GHOST_WindowManager(), timer_manager_, and window_manager_.
Referenced by getButtons(), GHOST_SystemCocoa::init(), GHOST_SystemHeadless::init(), GHOST_SystemWayland::init(), GHOST_SystemWin32::init(), and GHOST_SystemX11::init().
|
overridevirtual |
Specify whether debug messages are to be shown.
| debug | Flag for systems to debug. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWin32.
Definition at line 362 of file GHOST_System.cc.
References GHOST_kDebugDefault, and is_debug_enabled_.
Referenced by getButtons(), and GHOST_SystemWin32::initDebug().
|
overridevirtual |
Installs a timer.
| delay | The time to wait for the first call to the #timer_proc (in milliseconds). |
| interval | The interval between calls to the #timer_proc. |
| timer_proc | The callback invoked when the interval expires. |
| user_data | Placeholder for user data. |
Implements GHOST_ISystem.
Definition at line 84 of file GHOST_System.cc.
References GHOST_TimerManager::addTimer(), GHOST_TimerManager::fireTimers(), GHOST_ISystem::getMilliSeconds(), GHOST_kSuccess, GHOST_TimerTask::GHOST_TimerTask(), and timer_manager_.
|
overridevirtual |
Check whether debug messages are to be shown.
Implements GHOST_ISystem.
Definition at line 367 of file GHOST_System.cc.
References is_debug_enabled_.
Referenced by getButtons().
| GHOST_TSuccess GHOST_System::pushEvent | ( | std::unique_ptr< const GHOST_IEvent > | event | ) |
Pushes an event on the stack. To dispatch it, call dispatchEvent() or dispatchEvents(). Do not delete the event!
| event | The event to push on the stack. |
Definition at line 208 of file GHOST_System.cc.
References event_manager_, GHOST_kFailure, and GHOST_EventManager::pushEvent().
Referenced by GHOST_SystemCocoa::createWindow(), GHOST_SystemWayland::createWindow(), GHOST_SystemX11::createWindow(), gwl_window_frame_update_from_pending_no_lock(), GHOST_SystemCocoa::handleApplicationBecomeActiveEvent(), GHOST_SystemCocoa::handleDraggingEvent(), GHOST_SystemCocoa::handleKeyEvent(), GHOST_SystemCocoa::handleMouseEvent(), GHOST_SystemCocoa::handleOpenDocumentRequest(), GHOST_SystemCocoa::handleQuitRequest(), GHOST_SystemCocoa::handleWindowEvent(), GHOST_SystemWin32::processButtonEvent(), GHOST_SystemWayland::processEvents(), GHOST_SystemX11::processEvents(), GHOST_SystemWin32::processPointerEvent(), GHOST_SystemWin32::processTrackpad(), GHOST_SystemWin32::processWheelEventHorizontal(), GHOST_SystemWin32::processWheelEventVertical(), GHOST_SystemWin32::processWindowSizeEvent(), GHOST_SystemWin32::processWintabEvent(), GHOST_SystemWin32::pushDragDropEvent(), GHOST_SystemWayland::pushEvent_maybe_pending(), GHOST_SystemWin32::s_wndProc(), GHOST_NDOFManager::sendMotionEvent(), and GHOST_SystemCocoa::setCursorPosition().
|
overridepure virtual |
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_ISystem.
Implemented in GHOST_SystemCocoa, GHOST_SystemHeadless, GHOST_SystemSDL, GHOST_SystemWayland, GHOST_SystemWin32, and GHOST_SystemX11.
References getClipboardImage(), getWindowCSD(), getWindowCSD_Layout(), hasClipboardImage(), putClipboardImage(), setIconGenerator(), setWindowCSD(), and setWindowCSD_Layout().
|
overridevirtual |
Put image data to the Clipboard
| rgba | uint array in RGBA byte order. |
| width | the image width in pixels. |
| height | the image height in pixels. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWayland, and GHOST_SystemWin32.
Definition at line 53 of file GHOST_System.cc.
References GHOST_kFailure.
Referenced by putClipboard().
|
overridevirtual |
Removes the given event consumer to our list.
| consumer | The event consumer to remove. |
Implements GHOST_ISystem.
Definition at line 196 of file GHOST_System.cc.
References event_manager_, GHOST_kFailure, and GHOST_EventManager::removeConsumer().
|
overridevirtual |
Removes a timer.
| timerTask | Timer task to be removed. |
Implements GHOST_ISystem.
Definition at line 104 of file GHOST_System.cc.
References GHOST_kFailure, GHOST_TimerManager::removeTimer(), and timer_manager_.
|
overridevirtual |
Focus and raise windows on mouse hover.
Implements GHOST_ISystem.
Definition at line 357 of file GHOST_System.cc.
References auto_focus_.
|
overridevirtual |
Updates the location of the cursor (location in window coordinates).
| x | The x-coordinate of the cursor. |
| y | The y-coordinate of the cursor. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWayland.
Definition at line 233 of file GHOST_System.cc.
References GHOST_IWindow::clientToScreen(), GHOST_ISystem::setCursorPosition(), x, and y.
|
overridevirtual |
Set a callback used to generate window icons.
Back-ends that support window icons will call this to fill pixel data.
Implements GHOST_ISystem.
Definition at line 79 of file GHOST_System.cc.
References icon_generator_.
Referenced by putClipboard().
|
overridevirtual |
Enable multi-touch gestures if supported.
| use | Enable or disable. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWayland.
Definition at line 276 of file GHOST_System.cc.
References multitouch_gestures_.
|
overridevirtual |
Set which tablet API to use. Only affects Windows, other platforms have a single API.
| api | Enum indicating which API to use. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemWin32.
Definition at line 281 of file GHOST_System.cc.
References tablet_api_.
Referenced by GHOST_SystemWin32::setTabletAPI().
|
overridevirtual |
Implements GHOST_ISystem.
Definition at line 60 of file GHOST_System.cc.
References window_csd_params_.
Referenced by putClipboard().
| void GHOST_System::setWindowCSD_Layout | ( | const GHOST_CSD_Layout & | csd_layout | ) |
Definition at line 74 of file GHOST_System.cc.
References window_csd_layout_.
Referenced by GHOST_SystemWayland::GHOST_SystemWayland(), and putClipboard().
|
inlineoverridevirtual |
Show a system message box
| title | The title of the message box. |
| message | The message to display. |
| help_label | Help button label. |
| continue_label | Continue button label. |
| link | An optional hyperlink. |
| dialog_options | Options how to display the message. |
Implements GHOST_ISystem.
Reimplemented in GHOST_SystemCocoa, GHOST_SystemWin32, and GHOST_SystemX11.
Definition at line 204 of file GHOST_System.hh.
References GHOST_kFailure.
|
overridevirtual |
Native pixel size support (MacBook 'retina').
Implements GHOST_ISystem.
Definition at line 346 of file GHOST_System.cc.
References native_pixel_.
Referenced by createOffscreenContext().
|
overridevirtual |
Focus window after opening, or put them in the background.
Implements GHOST_ISystem.
Definition at line 352 of file GHOST_System.cc.
References window_focus_.
|
overridevirtual |
Returns whether a window is valid.
| window | Pointer to the window to be checked. |
Implements GHOST_ISystem.
Definition at line 133 of file GHOST_System.cc.
References GHOST_WindowManager::getWindowFound(), and window_manager_.
Referenced by createOffscreenContext(), GHOST_SystemCocoa::handleDraggingEvent(), and GHOST_SystemCocoa::handleWindowEvent().
| bool GHOST_System::auto_focus_ |
Definition at line 88 of file GHOST_System.hh.
Referenced by GHOST_System(), GHOST_SystemWin32::s_wndProc(), and setAutoFocus().
|
protected |
The event manager.
Definition at line 285 of file GHOST_System.hh.
Referenced by addEventConsumer(), dispatchEvents(), disposeWindow(), exit(), getEventManager(), init(), GHOST_SystemWin32::processEvents(), pushEvent(), and removeEventConsumer().
| const GHOST_IconGenerator* GHOST_System::icon_generator_ = nullptr |
Definition at line 201 of file GHOST_System.hh.
Referenced by setIconGenerator(), and GHOST_SystemWayland::xdg_toplevel_icon_update().
|
protected |
Definition at line 303 of file GHOST_System.hh.
Referenced by initDebug(), and isDebugEnabled().
|
protected |
Use multi-touch gestures.
Definition at line 298 of file GHOST_System.hh.
Referenced by GHOST_SystemCocoa::handleMouseEvent(), GHOST_SystemWin32::s_wndProc(), setMultitouchGestures(), and GHOST_SystemWayland::setMultitouchGestures().
| bool GHOST_System::native_pixel_ |
Definition at line 79 of file GHOST_System.hh.
Referenced by GHOST_System(), GHOST_SystemCocoa::handleWindowEvent(), GHOST_WindowCocoa::updateDrawingSize(), and useNativePixel().
|
protected |
Which tablet API to use.
Definition at line 301 of file GHOST_System.hh.
Referenced by getTabletAPI(), and setTabletAPI().
|
protected |
The timer manager.
Definition at line 279 of file GHOST_System.hh.
Referenced by dispatchEvents(), exit(), getTimerManager(), init(), installTimer(), and removeTimer().
| GHOST_CSD_Layout GHOST_System::window_csd_layout_ |
Definition at line 93 of file GHOST_System.hh.
Referenced by getWindowCSD_Layout(), and setWindowCSD_Layout().
| GHOST_CSD_Params GHOST_System::window_csd_params_ |
Definition at line 92 of file GHOST_System.hh.
Referenced by getWindowCSD(), GHOST_System(), and setWindowCSD().
| bool GHOST_System::window_focus_ |
Definition at line 84 of file GHOST_System.hh.
Referenced by GHOST_System(), GHOST_WindowX11::GHOST_WindowX11(), and useWindowFocus().
|
protected |
The window manager.
Definition at line 282 of file GHOST_System.hh.
Referenced by GHOST_SystemCocoa::createWindow(), GHOST_SystemWayland::createWindow(), GHOST_SystemWin32::createWindow(), GHOST_SystemX11::createWindow(), disposeWindow(), exit(), GHOST_SystemX11::getClipboard(), GHOST_SystemX11::getClipboard_xcout(), getWindowManager(), getWindowUnderCursor(), GHOST_SystemCocoa::getWindowUnderCursor(), GHOST_SystemWin32::getWindowUnderCursor(), GHOST_SystemCocoa::handleApplicationBecomeActiveEvent(), GHOST_SystemCocoa::handleKeyEvent(), GHOST_SystemCocoa::handleMouseEvent(), GHOST_SystemCocoa::handleOpenDocumentRequest(), GHOST_SystemCocoa::handleQuitRequest(), GHOST_SystemCocoa::handleTabletEvent(), GHOST_SystemCocoa::handleWindowEvent(), GHOST_SystemCocoa::hasDialogWindow(), init(), GHOST_SystemX11::putClipboard(), GHOST_SystemCocoa::setCursorPosition(), GHOST_SystemCocoa::setMouseCursorPosition(), and validWindow().