namespace Terminus; /// /// Cell style. /// public enum Style : int { /// /// Normal text. /// Normal = 0, /// /// Bold text. /// Bold = 1, /// /// Italic text. /// Italic = 2, /// /// Bold and italic text. /// BoldItalic = 3, } /// /// A cell on the terminal screen. /// [StructLayout(LayoutKind.Sequential)] public struct Cell { uint Character; Color Foreground; Color Background; Style Style; /// /// The Unicode scalar for the character. /// /// /// /// The foreground colour. /// /// /// /// The background colour. /// /// /// /// Cell style. /// public Cell(uint character, Color foreground, Color background, Style style) { Character = character; Foreground = foreground; Background = background; Style = style; } }