Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemHeadless.h
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | #endif | ||||
| } | } | ||||
| GHOST_IWindow *createWindow(const char *title, | GHOST_IWindow *createWindow(const char *title, | ||||
| int32_t left, | int32_t left, | ||||
| int32_t top, | int32_t top, | ||||
| uint32_t width, | uint32_t width, | ||||
| uint32_t height, | uint32_t height, | ||||
| GHOST_TWindowState state, | GHOST_TWindowState state, | ||||
| GHOST_TDrawingContextType type, | |||||
| GHOST_GLSettings glSettings, | GHOST_GLSettings glSettings, | ||||
| const bool /*exclusive*/, | const bool /*exclusive*/, | ||||
| const bool /*is_dialog*/, | const bool /*is_dialog*/, | ||||
| const GHOST_IWindow *parentWindow) override | const GHOST_IWindow *parentWindow) override | ||||
| { | { | ||||
| return new GHOST_WindowNULL(title, | return new GHOST_WindowNULL(title, | ||||
| left, | left, | ||||
| top, | top, | ||||
| width, | width, | ||||
| height, | height, | ||||
| state, | state, | ||||
| parentWindow, | parentWindow, | ||||
| type, | glSettings.context_type, | ||||
| ((glSettings.flags & GHOST_glStereoVisual) != 0)); | ((glSettings.flags & GHOST_glStereoVisual) != 0)); | ||||
| } | } | ||||
| GHOST_IWindow *getWindowUnderCursor(int32_t /*x*/, int32_t /*y*/) override | GHOST_IWindow *getWindowUnderCursor(int32_t /*x*/, int32_t /*y*/) override | ||||
| { | { | ||||
| return nullptr; | return nullptr; | ||||
| } | } | ||||
| }; | }; | ||||