Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_C-api.h
| Show First 20 Lines • Show All 622 Lines • ▼ Show 20 Lines | |||||
| * \param inY: The y-coordinate on the screen. | * \param inY: The y-coordinate on the screen. | ||||
| * \param outX: The x-coordinate in the client rectangle. | * \param outX: The x-coordinate in the client rectangle. | ||||
| * \param outY: The y-coordinate in the client rectangle. | * \param outY: The y-coordinate in the client rectangle. | ||||
| */ | */ | ||||
| extern void GHOST_ScreenToClient( | extern void GHOST_ScreenToClient( | ||||
| GHOST_WindowHandle windowhandle, int32_t inX, int32_t inY, int32_t *outX, int32_t *outY); | GHOST_WindowHandle windowhandle, int32_t inX, int32_t inY, int32_t *outX, int32_t *outY); | ||||
| /** | /** | ||||
| * Converts a point in screen coordinates to client rectangle coordinates | * Converts a point in client rectangle coordinates to screen coordinates. | ||||
| * \param windowhandle: The handle to the window. | * \param windowhandle: The handle to the window. | ||||
| * \param inX: The x-coordinate in the client rectangle. | * \param inX: The x-coordinate in the client rectangle. | ||||
| * \param inY: The y-coordinate in the client rectangle. | * \param inY: The y-coordinate in the client rectangle. | ||||
| * \param outX: The x-coordinate on the screen. | * \param outX: The x-coordinate on the screen. | ||||
| * \param outY: The y-coordinate on the screen. | * \param outY: The y-coordinate on the screen. | ||||
| */ | */ | ||||
| extern void GHOST_ClientToScreen( | extern void GHOST_ClientToScreen( | ||||
| GHOST_WindowHandle windowhandle, int32_t inX, int32_t inY, int32_t *outX, int32_t *outY); | GHOST_WindowHandle windowhandle, int32_t inX, int32_t inY, int32_t *outX, int32_t *outY); | ||||
| ▲ Show 20 Lines • Show All 510 Lines • Show Last 20 Lines | |||||