GHOST_WindowHandle GHOST_CreateWindow(GHOST_SystemHandle systemhandle, const char *title, GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, GHOST_TWindowState state, GHOST_TDrawingContextType type, GHOST_GLSettings glSettings) { GHOST_ISystem *system = (GHOST_ISystem *) systemhandle; return (GHOST_WindowHandle) system->createWindow(title, left, top, width, height, state, type, glSettings, false); }
GHOST_WindowHandle GHOST_CreateWindow(GHOST_SystemHandle systemhandle, char* title, GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, GHOST_TWindowState state, GHOST_TDrawingContextType type, const int stereoVisual) { GHOST_ISystem* system = (GHOST_ISystem*) systemhandle; bool bstereoVisual; if(stereoVisual) bstereoVisual = true; else bstereoVisual = false; return (GHOST_WindowHandle) system->createWindow(title, left, top, width, height, state, type, bstereoVisual); }