Various Changes
[tpg/acess2.git] / Kernel / include / tpl_drv_video.h
index 8f22c97..51f6ea9 100644 (file)
@@ -51,8 +51,13 @@ struct sVideo_IOCtl_Mode {
        short   id;             //!< Mide ID\r
        Uint16  width;  //!< Width\r
        Uint16  height; //!< Height\r
-       Uint16  bpp;    //!< Bits per Pixel\r
+       Uint8   bpp;    //!< Bits per Pixel\r
+       Uint8   flags;  //!< Mode Flags\r
 };\r
+#define VIDEO_FLAG_TEXT        0x1     //!< Text Mode\r
+#define VIDEO_FLAG_SLOW        0x2     //!< Non-accelerated mode\r
+/**\r
+ */\r
 struct sVideo_IOCtl_Pos {\r
        Sint16  x;\r
        Sint16  y;\r
@@ -81,4 +86,9 @@ typedef struct sVT_Char       tVT_Char;
 #define        VT_COL_LTGREY   0x0CCC\r
 #define        VT_COL_WHITE    0x0FFF\r
 \r
+extern int     giVT_CharWidth;\r
+extern int     giVT_CharHeight;\r
+extern void    VT_Font_Render(Uint32 Codepoint, void *Buffer, int Pitch, Uint32 BGC, Uint32 FGC);\r
+extern Uint32  VT_Colour12to24(Uint16 Col12);\r
+\r
 #endif\r

UCC git Repository :: git.ucc.asn.au