diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 02:51:35 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:03:46 -0400 |
commit | ea0444f2bb0ad94431a597e29f15d61cfa237508 (patch) | |
tree | 6a12efd1cc30a7d936306bc40a9860a22f047fcb /src/ffi.c | |
parent | df328c13903d5a0e595d27b14f79e2a61f66f8fc (diff) | |
download | vt100-rust-ea0444f2bb0ad94431a597e29f15d61cfa237508.tar.gz vt100-rust-ea0444f2bb0ad94431a597e29f15d61cfa237508.zip |
implement the rest of the cell attrs
Diffstat (limited to 'src/ffi.c')
-rw-r--r-- | src/ffi.c | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -10,3 +10,28 @@ int vt100_wrapper_cols(VT100Screen *vt) { return vt->grid->max.col; } + +int vt100_wrapper_cell_is_wide(struct vt100_cell *cell) +{ + return cell->is_wide; +} + +int vt100_wrapper_cell_bold(struct vt100_cell *cell) +{ + return cell->attrs.bold; +} + +int vt100_wrapper_cell_italic(struct vt100_cell *cell) +{ + return cell->attrs.italic; +} + +int vt100_wrapper_cell_underline(struct vt100_cell *cell) +{ + return cell->attrs.underline; +} + +int vt100_wrapper_cell_inverse(struct vt100_cell *cell) +{ + return cell->attrs.inverse; +} |