X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Kernel%2Finclude%2Ftpl_drv_video.h;h=b84a97e2d86ffcac8154eb35fc449830356c3300;hb=95a7eaaa4a1065334125b65130866f8d1048ddb7;hp=51f6ea945558b3c3c21df486ccddc009d81dafd9;hpb=a8067bafb36f98612767060db856cd6bf36ef940;p=tpg%2Facess2.git diff --git a/Kernel/include/tpl_drv_video.h b/Kernel/include/tpl_drv_video.h index 51f6ea94..b84a97e2 100644 --- a/Kernel/include/tpl_drv_video.h +++ b/Kernel/include/tpl_drv_video.h @@ -54,16 +54,21 @@ struct sVideo_IOCtl_Mode { Uint8 bpp; //!< Bits per Pixel Uint8 flags; //!< Mode Flags }; -#define VIDEO_FLAG_TEXT 0x1 //!< Text Mode +typedef struct sVideo_IOCtl_Mode tVideo_IOCtl_Mode; //!< Mode Type +/** + * \brief Text Mode Flag + * \note A text mode should have the ::sVideo_IOCtl_Mode.bpp set to 12 + */ +#define VIDEO_FLAG_TEXT 0x1 #define VIDEO_FLAG_SLOW 0x2 //!< Non-accelerated mode + +typedef struct sVideo_IOCtl_Pos tVideo_IOCtl_Pos; //!< Position Type /** */ struct sVideo_IOCtl_Pos { - Sint16 x; - Sint16 y; + Sint16 x; //!< X Coordinate + Sint16 y; //!< Y Coordinate }; -typedef struct sVideo_IOCtl_Mode tVideo_IOCtl_Mode; //!< Mode Type -typedef struct sVideo_IOCtl_Pos tVideo_IOCtl_Pos; //!< Mode Type /** * \struct sVT_Char