#![no_std]
#![warn(missing_docs)]
#![doc(html_logo_url = "http://plopgrizzly.com/afi_docf/icon.png",
html_favicon_url = "http://plopgrizzly.com/afi_docf/icon.png",
html_root_url = "http://plopgrizzly.com/afi_docf/")]
#[repr(u8)] #[derive(PartialEq, Copy, Clone)]
pub enum Align {
Left = 0u8,
Centered = 1u8,
Right = 2u8,
Justified = 3u8,
}
#[repr(u8)] #[derive(PartialEq, Copy, Clone)]
pub enum Emphasis {
None = 0b_0000_0000_u8,
StrikeOut = 0b_0000_0001_u8,
Overline = 0b_0000_0010_u8,
Underline = 0b_0000_0100_u8,
UnderlineDC = 0b_0000_1000_u8,
UnderlineX2 = 0b_0001_0000_u8,
InvertColor = 0b_0010_0000_u8,
Bold = 0b_0100_0000_u8,
Italic = 0b_1000_0000_u8,
}
#[repr(u8)] #[derive(PartialEq, Copy, Clone)]
pub enum FontColor {
Default,
RgbaInt(u8, u8, u8, u8),
RgbaFloat(f32, f32, f32, f32),
}