* \}\r
*/\r
\r
+ /*\r
+ * \name Internal fields\r
+ * \{\r
+ */\r
+\r
/**\r
* \brief Buffer to store the area under the cursor\r
*/\r
void *CursorSaveBuf;\r
+ \r
+ int CursorReadX; //!< X offset in cursor bitmap corresponding to \a CursorDestX\r
+ int CursorReadY; //!< Same as \a CursorReadX but for Y\r
+ int CursorRenderW; //!< Width of rendered cursor\r
+ int CursorRenderH; //!< Height of rendered cursor\r
+ int CursorDestX; //!< X coordinate Destination for rendered cursor\r
+ int CursorDestY; //!< Y coordinate destination for rendered cursor\r
+\r
+ /*\r
+ * \}\r
+ */\r
} tDrvUtil_Video_BufInfo;\r
\r
/**\r
* \param Buf Framebuffer descriptor\r
* \param Bitmap New cursor bitmap\r
*/\r
-extern void DrvUtil_Video_SetCursor(tDrvUtil_Video_BufInfo *Buf, tVideo_IOCtl_Bitmap *Bitmap);\r
+extern int DrvUtil_Video_SetCursor(tDrvUtil_Video_BufInfo *Buf, tVideo_IOCtl_Bitmap *Bitmap);\r
/**\r
* \brief Render the cursor at (\a X, \a Y)\r
* \param Buf Framebuffer descriptor, see type for details\r
* \param Buf Framebuffer descriptor, see type for details\r
*/\r
extern void DrvUtil_Video_RemoveCursor(tDrvUtil_Video_BufInfo *Buf);\r
+\r
+/**\r
+ * \brief Text mode cursor image\r
+ */\r
+extern tVideo_IOCtl_Bitmap gDrvUtil_TextModeCursor;\r
/**\r
* \}\r
*/\r