Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_C-api.cpp
| Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Lines | GHOST_WindowHandle GHOST_CreateWindow(GHOST_SystemHandle systemhandle, | ||||
| GHOST_WindowHandle parent_windowhandle, | GHOST_WindowHandle parent_windowhandle, | ||||
| const char *title, | 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, | ||||
| bool is_dialog, | bool is_dialog, | ||||
| GHOST_TDrawingContextType type, | |||||
| GHOST_GLSettings glSettings) | GHOST_GLSettings glSettings) | ||||
| { | { | ||||
| GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | ||||
| return (GHOST_WindowHandle)system->createWindow(title, | return (GHOST_WindowHandle)system->createWindow(title, | ||||
| left, | left, | ||||
| top, | top, | ||||
| width, | width, | ||||
| height, | height, | ||||
| state, | state, | ||||
| type, | |||||
| glSettings, | glSettings, | ||||
| false, | false, | ||||
| is_dialog, | is_dialog, | ||||
| (GHOST_IWindow *)parent_windowhandle); | (GHOST_IWindow *)parent_windowhandle); | ||||
| } | } | ||||
| GHOST_TUserDataPtr GHOST_GetWindowUserData(GHOST_WindowHandle windowhandle) | GHOST_TUserDataPtr GHOST_GetWindowUserData(GHOST_WindowHandle windowhandle) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 1,011 Lines • Show Last 20 Lines | |||||