Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemWin32.cpp
| Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| GHOST_IWindow *GHOST_SystemWin32::createWindow(const char *title, | GHOST_IWindow *GHOST_SystemWin32::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) | const GHOST_IWindow *parentWindow) | ||||
| { | { | ||||
| GHOST_WindowWin32 *window = new GHOST_WindowWin32( | GHOST_WindowWin32 *window = new GHOST_WindowWin32( | ||||
| this, | this, | ||||
| title, | title, | ||||
| left, | left, | ||||
| top, | top, | ||||
| width, | width, | ||||
| height, | height, | ||||
| state, | state, | ||||
| type, | glSettings.context_type, | ||||
| ((glSettings.flags & GHOST_glStereoVisual) != 0), | ((glSettings.flags & GHOST_glStereoVisual) != 0), | ||||
| false, | false, | ||||
| (GHOST_WindowWin32 *)parentWindow, | (GHOST_WindowWin32 *)parentWindow, | ||||
| ((glSettings.flags & GHOST_glDebugContext) != 0), | ((glSettings.flags & GHOST_glDebugContext) != 0), | ||||
| is_dialog); | is_dialog); | ||||
| if (window->getValid()) { | if (window->getValid()) { | ||||
| /* Store the pointer to the window */ | /* Store the pointer to the window */ | ||||
| ▲ Show 20 Lines • Show All 2,125 Lines • Show Last 20 Lines | |||||