diff options
Diffstat (limited to 'src/crt.h')
-rw-r--r-- | src/crt.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.15 2008/03/02 10:37:56 james + * *** empty log message *** + * * Revision 1.14 2008/02/28 16:57:51 james * *** empty log message *** * @@ -99,29 +102,25 @@ #define CRT_COLOR_NORMAL CRT_MAKE_COLOR(CRT_FGCOLOR_NORMAL,CRT_BGCOLOR_NORMAL) -typedef struct __attribute__ ((packed)) -{ +typedef struct __attribute__ ((packed)) { uint32_t chr; uint8_t attr; uint8_t color; } CRT_CA; -typedef struct -{ +typedef struct { int x; int y; } CRT_Pos; -typedef struct -{ +typedef struct { CRT_Pos s; CRT_Pos e; int dir; } CRT_ScrollHint; -typedef struct CRT_struct -{ +typedef struct CRT_struct { CRT_CA screen[CRT_CELS]; CRT_Pos pos; int hide_cursor; |