Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | |||||
| * \param title: The name of the window. | * \param title: The name of the window. | ||||
| * (displayed in the title bar of the window if the OS supports it). | * (displayed in the title bar of the window if the OS supports it). | ||||
| * \param left: The coordinate of the left edge of the window. | * \param left: The coordinate of the left edge of the window. | ||||
| * \param top: The coordinate of the top edge of the window. | * \param top: The coordinate of the top edge of the window. | ||||
| * \param width: The width the window. | * \param width: The width the window. | ||||
| * \param height: The height the window. | * \param height: The height the window. | ||||
| * \param state: The state of the window when opened. | * \param state: The state of the window when opened. | ||||
| * \param is_dialog: Stay on top of parent window, no icon in taskbar, can't be minimized. | * \param is_dialog: Stay on top of parent window, no icon in taskbar, can't be minimized. | ||||
| * \param type: The type of drawing context installed in this window. | |||||
| * \param glSettings: Misc OpenGL options. | * \param glSettings: Misc OpenGL options. | ||||
| * \return A handle to the new window ( == NULL if creation failed). | * \return A handle to the new window ( == NULL if creation failed). | ||||
| */ | */ | ||||
| extern GHOST_WindowHandle GHOST_CreateWindow(GHOST_SystemHandle systemhandle, | extern 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); | ||||
| /** | /** | ||||
| * Create a new off-screen context. | * Create a new off-screen context. | ||||
| * Never explicitly delete the context, use #disposeContext() instead. | * Never explicitly delete the context, use #disposeContext() instead. | ||||
| * \param systemhandle: The handle to the system. | * \param systemhandle: The handle to the system. | ||||
| * \param glSettings: Misc OpenGL options. | * \param glSettings: Misc OpenGL options. | ||||
| * \return A handle to the new context ( == NULL if creation failed). | * \return A handle to the new context ( == NULL if creation failed). | ||||
| ▲ Show 20 Lines • Show All 1,007 Lines • Show Last 20 Lines | |||||