aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 03:40:06 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 03:40:06 -0400
commit06445fe6e42f44bbb14f00afee97865b58250a70 (patch)
treee0d5d7382c91b5902a3042cded6a548a29c50750 /src/types.rs
parentde82973a9e4a5d50547587b7f3aa092223240826 (diff)
downloadvt100-rust-06445fe6e42f44bbb14f00afee97865b58250a70.tar.gz
vt100-rust-06445fe6e42f44bbb14f00afee97865b58250a70.zip
fgcolor and bgcolor for the screen
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs
index 6e82779..04806d8 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -5,6 +5,13 @@ pub enum CellImpl {}
pub struct ColorImpl(pub libc::uint32_t);
#[repr(C)]
+pub struct CellAttrs {
+ pub fgcolor: ColorImpl,
+ pub bgcolor: ColorImpl,
+ pub attrs: libc::c_uchar,
+}
+
+#[repr(C)]
pub struct Loc {
pub row: libc::c_int,
pub col: libc::c_int,