From 1cf6da28fc5f02af178dfe6dcbe4fd19c20dbc8e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 5 Jun 2016 01:42:37 -0400 Subject: move dirty checking to individual cells --- src/ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ffi.rs') diff --git a/src/ffi.rs b/src/ffi.rs index 284a98c..7715acd 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -59,17 +59,17 @@ extern "C" { pub fn vt100_wrapper_screen_audible_bell(screen: *mut types::ScreenImpl) -> libc::c_int; pub fn vt100_wrapper_screen_update_title(screen: *mut types::ScreenImpl) -> libc::c_int; pub fn vt100_wrapper_screen_update_icon_name(screen: *mut types::ScreenImpl) -> libc::c_int; - pub fn vt100_wrapper_screen_dirty(screen: *mut types::ScreenImpl) -> libc::c_int; pub fn vt100_wrapper_screen_clear_visual_bell(screen: *mut types::ScreenImpl); pub fn vt100_wrapper_screen_clear_audible_bell(screen: *mut types::ScreenImpl); pub fn vt100_wrapper_screen_clear_update_title(screen: *mut types::ScreenImpl); pub fn vt100_wrapper_screen_clear_update_icon_name(screen: *mut types::ScreenImpl); - pub fn vt100_wrapper_screen_clear_dirty(screen: *mut types::ScreenImpl); pub fn vt100_wrapper_cell_is_wide(cell: *mut types::CellImpl) -> libc::c_int; pub fn vt100_wrapper_cell_attrs_bold(cell: *mut types::CellAttrs) -> libc::c_int; pub fn vt100_wrapper_cell_attrs_italic(cell: *mut types::CellAttrs) -> libc::c_int; pub fn vt100_wrapper_cell_attrs_underline(cell: *mut types::CellAttrs) -> libc::c_int; pub fn vt100_wrapper_cell_attrs_inverse(cell: *mut types::CellAttrs) -> libc::c_int; + pub fn vt100_wrapper_cell_was_drawn(cell: *mut types::CellImpl) -> libc::c_int; + pub fn vt100_wrapper_cell_set_was_drawn(cell: *mut types::CellImpl); } #[cfg(test)] -- cgit v1.2.3-54-g00ecf