/* * Date: 12/3/2005 * Time: 1:37 AM * * Copyright 2005, Static Boy Productions */ using System; namespace Jessie.TTY { /// /// Supported text/background colors /// public enum jtbvTextColor:ushort { /// /// Black /// BLACK = 0, /// /// Red /// RED, /// /// Green /// GREEN, /// /// Yellow /// YELLOW, /// /// Blue /// BLUE, /// /// Magenta /// MAGENTA, /// /// Cyan /// CYAN, /// /// White /// WHITE } /// /// Supported text attributes /// public enum jtbvTextAttrib:ushort { /// /// Normal text mode /// NORMAL = 0, /// /// Bold text (bright) /// BOLD = 1, /// /// UnBold text (dim) ??? /// UNBOLD = 2, /// /// Italic text /// ITALIC = 3, /// /// Underlined text /// UNDERLINE = 4, /// /// Blinking text /// BLINK = 5, /// /// Reversed text /// REVERSE = 7, /// /// Invisible text /// INVISIBLE = 8 } /// /// Description of jtbvMessageColor. /// public class jtbvMessageColor { public jtbvMessageColor() { BGColor = jtbvTextColor.BLACK; FGColor = jtbvTextColor.WHITE; Attr = jtbvTextAttrib.NORMAL; } public jtbvTextColor BGColor; public jtbvTextColor FGColor; public jtbvTextAttrib Attr; } }