X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fapi_drv_terminal.h;h=3142d33cb650972f4fb19358fa75ac4775cfd0dd;hb=a2495c6ea4f4cab16b5d339ae511428e92e89e73;hp=7e53bbc30273d6253eb18a6047030bcdf9f0b46a;hpb=e6795eb552a6be88b7870dae14a958ab391bfae8;p=tpg%2Facess2.git diff --git a/Kernel/include/api_drv_terminal.h b/Kernel/include/api_drv_terminal.h index 7e53bbc3..3142d33c 100644 --- a/Kernel/include/api_drv_terminal.h +++ b/Kernel/include/api_drv_terminal.h @@ -68,11 +68,20 @@ enum eTplTerminal_IOCtl { TERM_IOCTL_FORCESHOW, /** - * ioctl(...) + * ioctl(..., tVideo_IOCtl_Pos *pos) * \brief Returns the current text cursor position + * \param pos New cursor position. If NULL, the position is not changed * \return Cursor position (as X+Y*Width) */ - TERM_IOCTL_GETCURSOR + TERM_IOCTL_GETSETCURSOR, + + /** + * ioctl(..., tVideo_IOCtl_Bitmap *Bmp) + * \brief Set the video cursor bitmap + * \param Bmp New bitmap (if NULL, the current bitmap is removed) + * \return Boolean failure + */ + TERM_IOCTL_SETCURSORBITMAP, }; /** @@ -90,7 +99,7 @@ typedef struct sTerm_IOCtl_Mode unsigned bText: 1; //!< Text Mode marker unsigned unused: 7; }; -} tTerm_IOCtl_Mode; +} tTerm_IOCtl_Mode; /** * \brief Terminal Modes