aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.rs
diff options
context:
space:
mode:
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,