From 06445fe6e42f44bbb14f00afee97865b58250a70 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 27 Apr 2016 03:40:06 -0400 Subject: fgcolor and bgcolor for the screen --- src/types.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/types.rs') diff --git a/src/types.rs b/src/types.rs index 6e82779..04806d8 100644 --- a/src/types.rs +++ b/src/types.rs @@ -4,6 +4,13 @@ pub enum ScreenImpl {} 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, -- cgit v1.2.3-54-g00ecf