[rust] add NCSTYLE_UNDERCURL

This commit is contained in:
joseLuís 2021-06-18 10:09:03 +02:00
parent d15bfd6d02
commit 7249ecccc1
2 changed files with 48 additions and 44 deletions

View File

@ -634,18 +634,19 @@ pub use ffi::{
// already wrapped: // already wrapped:
// //
// // constants // // constants
// NCSTYLE_BLINK,
// NCSTYLE_BOLD,
// NCSTYLE_DIM,
// NCSTYLE_INVIS,
// NCSTYLE_ITALIC,
// NCSTYLE_MASK, // NCSTYLE_MASK,
// NCSTYLE_NONE, // NCSTYLE_UNDERCURL,
// NCSTYLE_PROTECT,
// NCSTYLE_REVERSE,
// NCSTYLE_STANDOUT,
// NCSTYLE_STRUCK, // NCSTYLE_STRUCK,
// NCSTYLE_ITALIC,
// NCSTYLE_STANDOUT,
// NCSTYLE_UNDERLINE, // NCSTYLE_UNDERLINE,
// NCSTYLE_REVERSE,
// NCSTYLE_BLINK,
// NCSTYLE_DIM,
// NCSTYLE_BOLD,
// NCSTYLE_INVIS,
// NCSTYLE_PROTECT,
// NCSTYLE_NONE,
// nctablet -------------------------------------------------------------------- // nctablet --------------------------------------------------------------------
// //

View File

@ -283,19 +283,19 @@ pub type NcEgcBackstop = u8;
/// ///
/// ## Attributes /// ## Attributes
/// ///
/// - [`NCSTYLE_BLINK`]
/// - [`NCSTYLE_BOLD`]
/// - [`NCSTYLE_DIM`]
/// - [`NCSTYLE_INVIS`]
/// - [`NCSTYLE_ITALIC`]
/// - [`NCSTYLE_MASK`] /// - [`NCSTYLE_MASK`]
/// - [`NCSTYLE_NONE`] /// - [`NCSTYLE_UNDERCURL`]
/// - [`NCSTYLE_PROTECT`]
/// - [`NCSTYLE_REVERSE`]
/// - [`NCSTYLE_STANDOUT`]
/// - [`NCSTYLE_STRUCK`] /// - [`NCSTYLE_STRUCK`]
/// - [`NCSTYLE_ITALIC`]
/// - [`NCSTYLE_STANDOUT`]
/// - [`NCSTYLE_UNDERLINE`] /// - [`NCSTYLE_UNDERLINE`]
/// /// - [`NCSTYLE_REVERSE`]
/// - [`NCSTYLE_BLINK`]
/// - [`NCSTYLE_DIM`]
/// - [`NCSTYLE_BOLD`]
/// - [`NCSTYLE_INVIS`]
/// - [`NCSTYLE_PROTECT`]
/// - [`NCSTYLE_NONE`]
/// ///
/// ## Diagram /// ## Diagram
/// ///
@ -307,38 +307,41 @@ pub type NcEgcBackstop = u8;
/// ///
pub type NcStyle = u16; pub type NcStyle = u16;
///
pub const NCSTYLE_BLINK: u16 = crate::bindings::ffi::NCSTYLE_BLINK as u16;
///
pub const NCSTYLE_BOLD: u16 = crate::bindings::ffi::NCSTYLE_BOLD as u16;
///
pub const NCSTYLE_DIM: u16 = crate::bindings::ffi::NCSTYLE_DIM as u16;
///
pub const NCSTYLE_INVIS: u16 = crate::bindings::ffi::NCSTYLE_INVIS as u16;
///
pub const NCSTYLE_ITALIC: u16 = crate::bindings::ffi::NCSTYLE_ITALIC as u16;
/// ///
pub const NCSTYLE_MASK: u16 = crate::bindings::ffi::NCSTYLE_MASK as u16; pub const NCSTYLE_MASK: u16 = crate::bindings::ffi::NCSTYLE_MASK as u16;
/// ///
pub const NCSTYLE_NONE: u16 = crate::bindings::ffi::NCSTYLE_NONE as u16; pub const NCSTYLE_UNDERCURL: u16 = crate::bindings::ffi::NCSTYLE_UNDERCURL as u16;
///
pub const NCSTYLE_PROTECT: u16 = crate::bindings::ffi::NCSTYLE_PROTECT as u16;
///
pub const NCSTYLE_REVERSE: u16 = crate::bindings::ffi::NCSTYLE_REVERSE as u16;
///
pub const NCSTYLE_STANDOUT: u16 = crate::bindings::ffi::NCSTYLE_STANDOUT as u16;
/// ///
pub const NCSTYLE_STRUCK: u16 = crate::bindings::ffi::NCSTYLE_STRUCK as u16; pub const NCSTYLE_STRUCK: u16 = crate::bindings::ffi::NCSTYLE_STRUCK as u16;
///
pub const NCSTYLE_ITALIC: u16 = crate::bindings::ffi::NCSTYLE_ITALIC as u16;
///
pub const NCSTYLE_STANDOUT: u16 = crate::bindings::ffi::NCSTYLE_STANDOUT as u16;
/// ///
pub const NCSTYLE_UNDERLINE: u16 = crate::bindings::ffi::NCSTYLE_UNDERLINE as u16; pub const NCSTYLE_UNDERLINE: u16 = crate::bindings::ffi::NCSTYLE_UNDERLINE as u16;
///
pub const NCSTYLE_REVERSE: u16 = crate::bindings::ffi::NCSTYLE_REVERSE as u16;
///
pub const NCSTYLE_BLINK: u16 = crate::bindings::ffi::NCSTYLE_BLINK as u16;
///
pub const NCSTYLE_DIM: u16 = crate::bindings::ffi::NCSTYLE_DIM as u16;
///
pub const NCSTYLE_BOLD: u16 = crate::bindings::ffi::NCSTYLE_BOLD as u16;
///
pub const NCSTYLE_INVIS: u16 = crate::bindings::ffi::NCSTYLE_INVIS as u16;
///
pub const NCSTYLE_PROTECT: u16 = crate::bindings::ffi::NCSTYLE_PROTECT as u16;
///
pub const NCSTYLE_NONE: u16 = crate::bindings::ffi::NCSTYLE_NONE as u16;