Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Show First 20 Lines • Show All 737 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Release the drawing context bound to this thread. | * Release the drawing context bound to this thread. | ||||
| * \param contexthandle The handle to the context | * \param contexthandle The handle to the context | ||||
| * \return A success indicator. | * \return A success indicator. | ||||
| */ | */ | ||||
| extern GHOST_TSuccess GHOST_ReleaseOpenGLContext(GHOST_ContextHandle contexthandle); | extern GHOST_TSuccess GHOST_ReleaseOpenGLContext(GHOST_ContextHandle contexthandle); | ||||
| /** | /** | ||||
| * Set which tablet API to use. Only affects Windows, other platforms have a single API. | |||||
| * \param systemhandle The handle to the system | |||||
| * \param api Enum indicating which API to use. | |||||
| */ | |||||
| extern void GHOST_SetTabletAPI(GHOST_SystemHandle systemhandle, GHOST_TTabletAPI api); | |||||
| /** | |||||
| * Returns the status of the tablet | * Returns the status of the tablet | ||||
| * \param windowhandle The handle to the window | * \param windowhandle The handle to the window | ||||
| * \return Status of tablet | * \return Status of tablet | ||||
| */ | */ | ||||
| extern const GHOST_TabletData *GHOST_GetTabletData(GHOST_WindowHandle windowhandle); | extern const GHOST_TabletData *GHOST_GetTabletData(GHOST_WindowHandle windowhandle); | ||||
| /** | /** | ||||
| * Access to rectangle width. | * Access to rectangle width. | ||||
| ▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines | |||||