aboutsummaryrefslogtreecommitdiffstats
path: root/src/crt.h
diff options
context:
space:
mode:
authorjames <>2008-03-03 06:04:42 +0000
committerjames <>2008-03-03 06:04:42 +0000
commitf2c620137fa5290d913373e5579a97f0fee25fa3 (patch)
treedfbbe3562ae58e8f540a92654cb4f4d7323d59d7 /src/crt.h
parent800cb4bdfb56dcd606216788fb023fcc23fb69bf (diff)
downloadsympathy-f2c620137fa5290d913373e5579a97f0fee25fa3.tar.gz
sympathy-f2c620137fa5290d913373e5579a97f0fee25fa3.tar.bz2
sympathy-f2c620137fa5290d913373e5579a97f0fee25fa3.zip
*** empty log message ***
Diffstat (limited to 'src/crt.h')
-rw-r--r--src/crt.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/crt.h b/src/crt.h
index 683dc2b..9ba699d 100644
--- a/src/crt.h
+++ b/src/crt.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.16 2008/03/03 06:04:42 james
+ * *** empty log message ***
+ *
* Revision 1.15 2008/03/02 10:37:56 james
* *** empty log message ***
*
@@ -102,25 +105,29 @@
#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;