Reorganised the modules directory, started serious work on GUI support
[tpg/acess2.git] / Usermode / include / acess / devices / terminal.h
index 473271c..8397d18 100644 (file)
@@ -4,26 +4,25 @@
 #ifndef _SYS_DEVICES_TERMINAL_H
 #define _SYS_DEVICES_TERMINAL_H
 
+#include <stdint.h>
 
 enum eDrv_Terminal {
        TERM_IOCTL_MODETYPE = 4,
        TERM_IOCTL_WIDTH,
        TERM_IOCTL_HEIGHT,
-       TERM_IOCTL_QUERYMODE
+       TERM_IOCTL_QUERYMODE,
+       TERM_IOCTL_FORCESHOW
 };
 
 
 struct sTerm_IOCtl_Mode
 {
-       short   ID;             //!< Zero Based index of mode
-       short   DriverID;       //!< Driver's ID number (from ::tVideo_IOCtl_Mode)
-       Uint16  Height; //!< Height
-       Uint16  Width;  //!< Width
-       Uint8   Depth;  //!< Bits per cell
-       struct {
-               unsigned bText: 1;      //!< Text Mode marker
-               unsigned unused:        7;
-       };
+       int16_t ID;             //!< Zero Based index of mode
+       int16_t DriverID;       //!< Driver's ID number (from ::tVideo_IOCtl_Mode)
+       uint16_t        Height; //!< Height
+       uint16_t        Width;  //!< Width
+       uint8_t Depth;  //!< Bits per cell
+       uint8_t Flags;  //!< Flags (1: Text Mode)
 };
 
 /**

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