GHOST: Add missing C_API function to header file.

- GHOST_GetDrawingContext was missing.
This commit is contained in:
Jeroen Bakker 2022-11-22 12:45:49 +01:00
parent 7dea18b3aa
commit b79e5ae4f2
1 changed files with 7 additions and 0 deletions

View File

@ -560,6 +560,13 @@ extern GHOST_TDrawingContextType GHOST_GetDrawingContextType(GHOST_WindowHandle
extern GHOST_TSuccess GHOST_SetDrawingContextType(GHOST_WindowHandle windowhandle,
GHOST_TDrawingContextType type);
/**
* Returns the drawing context used in the this window.
* \param windowhandle: The handle to the window.
* \return The window drawing context.
*/
extern GHOST_ContextHandle GHOST_GetDrawingContext(GHOST_WindowHandle windowhandle);
/**
* Sets the title displayed in the title bar.
* \param windowhandle: The handle to the window.