X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fapi_drv_video.h;h=ab7dcdb96b4d888ba21d05216eb5171168082533;hb=cb0d15dabadd4b05fee2550bef08057b2a0f40d9;hp=1a5fe6acb88065583c64aae90ea8d62073be75e5;hpb=15442765f459f04d9bcd6eac6726221272cc0a96;p=tpg%2Facess2.git diff --git a/Kernel/include/api_drv_video.h b/Kernel/include/api_drv_video.h index 1a5fe6ac..ab7dcdb9 100644 --- a/Kernel/include/api_drv_video.h +++ b/Kernel/include/api_drv_video.h @@ -371,10 +371,26 @@ typedef struct sDrvUtil_Video_BufInfo * \} */ + /* + * \name Internal fields + * \{ + */ + /** * \brief Buffer to store the area under the cursor */ void *CursorSaveBuf; + + int CursorReadX; //!< X offset in cursor bitmap corresponding to \a CursorDestX + int CursorReadY; //!< Same as \a CursorReadX but for Y + int CursorRenderW; //!< Width of rendered cursor + int CursorRenderH; //!< Height of rendered cursor + int CursorDestX; //!< X coordinate Destination for rendered cursor + int CursorDestY; //!< Y coordinate destination for rendered cursor + + /* + * \} + */ } tDrvUtil_Video_BufInfo; /** @@ -457,6 +473,11 @@ extern void DrvUtil_Video_DrawCursor(tDrvUtil_Video_BufInfo *Buf, int X, int Y); * \param Buf Framebuffer descriptor, see type for details */ extern void DrvUtil_Video_RemoveCursor(tDrvUtil_Video_BufInfo *Buf); + +/** + * \brief Text mode cursor image + */ +extern tVideo_IOCtl_Bitmap gDrvUtil_TextModeCursor; /** * \} */