Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Console.TextMode
      • IConsoleScreen
      • TextModeDebugConsoleDisplay
      • TicTacToeCommand
      • TicTacToeScreen
    • Scylla.TextMode
      • ANSIAttributeParser
      • ANSIColor
      • ANSISGRAttributes
      • AmbientEffectBase
      • BackgroundBlendMode
      • BoxStyle
      • BoxStyleCharacters
      • BoxStyleCharacters.BoxChars
      • CRTSettings
      • Cell
      • CellAttributes
      • CellAttributesExtensions
      • CellBuffer
      • CellBufferRenderer
      • CellGrid
      • CellMask
      • CellPosition
      • CellRange
      • CellRect
      • ColorCycleEffect
      • ColorCycleEffectPreset
      • CrossFadeEffect
      • CursorStyle
      • DecodeEffect
      • DecodeEffectPreset
      • DigitalRainEffect
      • DigitalRainEffectPreset
      • EffectsSettings
      • FadeEffect
      • FadeEffectPreset
      • FlickerEffect
      • FlickerEffectPreset
      • GlitchEffect
      • GlitchEffectPreset
      • GlyphAtlasCache
      • GridSettings
      • IAutoCompleter
      • IInputHistory
      • ITextEffect
      • ITextEffectContext
      • ITextModeGridProvider
      • ITextModePointerMapper
      • ITextModeRenderSource
      • ITextModeViewHost
      • IVTParserHandler
      • InputHistory
      • MaskTransitionEffect
      • MouseEncodingMode
      • MouseTrackingMode
      • PackedGlyphData
      • PulseEffect
      • PulseEffectPreset
      • PushEffect
      • PushEffectPreset
      • SDFSettings
      • ScrollbackAttributeRun
      • ScrollbackLine
      • ScyllaTextMode
      • ScyllaTextMode.Meta
      • ScyllaTextModeConfiguration
      • SlideInEffect
      • SlideInEffectPreset
      • StaticTuneInEffect
      • StaticTuneInEffectPreset
      • TerminalCLI
      • TerminalEmulator
      • TerminalGridRenderer
      • TerminalInputEncoder
      • TerminalMouseButton
      • TerminalScrollbackBuffer
      • TerminalSettings
      • TextAlignment
      • TextEffectBase
      • TextEffectCompletedEvent
      • TextEffectDirection
      • TextEffectExtensions
      • TextEffectMaskPattern
      • TextEffectPreset
      • TextEffectPushMode
      • TextEffectSequencer
      • TextEffectStartedEvent
      • TextEffectState
      • TextEffectTimeMode
      • TextEffects
      • TextModeCellBorder
      • TextModeColorDefaults
      • TextModeColorScheme
      • TextModeColorSet
      • TextModeConfigurationChangedEvent
      • TextModeConsole
      • TextModeConstants
      • TextModeEffectPlayer
      • TextModeGridCapture
      • TextModeLayoutUtil
      • TextModeMaterials
      • TextModeMouseReporter
      • TextModeMouseReportingEvent
      • TextModeSelectionChangedEvent
      • TextModeSelectionEndedEvent
      • TextModeSelectionManager
      • TextModeSelectionStartedEvent
      • TextModeTerminal
      • TextModeTerminalColorTheme
      • TextModeTerminalHost
      • TextModeTerminalSettings
      • TextModeTerminalStartMode
      • TextModeThemeBackground
      • TextModeThemeChangedEvent
      • TextModeThemeRemapper
      • TextModeThemes
      • TextModeView
      • TextWrapMode
      • ThemeSettings
      • TransitionEffectBase
      • TransitionEffectPreset
      • TwinkleEffect
      • TwinkleEffectPreset
      • TypewriterCharacterRevealedEvent
      • TypewriterEffect
      • TypewriterEffectPreset
      • UITextModeView
      • VTParser
      • WaveEffect
      • WaveEffectPreset
    • Scylla.TextMode.CRT
      • CRTBeam
      • CRTBeamClock
      • CRTBeamScanDirection
      • CRTBeamStatus
      • CRTCalibrationPattern
      • CRTCurvatureShape
      • CRTGeometry
      • CRTHDR
      • CRTHDRDisplay
      • CRTHDRTarget
      • CRTHorizontalKernel
      • CRTImageRegion
      • CRTMaskType
      • CRTQualityTier
      • CRTScaleMode
      • CRTSignalStandard
      • CRTSignalType
      • ITextModeCRTCameraEffect
      • ITextModeCRTHDRDisplaySource
      • TextModeCRTBeam
      • TextModeCRTCalibration
      • TextModeCRTCameraEffects
      • TextModeCRTConstants
      • TextModeCRTDriver
      • TextModeCRTHDR
      • TextModeCRTImageRenderer
      • TextModeCRTMonitor
      • TextModeCRTPreset
      • TextModeCRTPresetRegistry
      • TextModeCRTScreen
      • TextModeCRTSettings
      • TextModeCRTTube
    • Scylla.TextMode.Editor
      • CellGridPreviewWidget
      • ColorPaletteWidget
      • ITextModeCRTCameraSetupProvider
      • ScyllaTextModeConfigurationEditor
      • ScyllaTextModeDependencyProvider
      • ScyllaTextModeEditor
      • ScyllaTextModeMenuItems
      • ScyllaTextModeShaderProvider
      • TextModeCRTCameraSetup
      • TextModeCRTCameraStatus
      • TextModeCRTDriverEditor
      • TextModeCRTMonitorEditor
      • TextModeCRTPresetEditor
      • TextModeCRTPresetGenerator
      • TextModeColorAssetGenerator
      • TextModeColorPaletteDefaults
      • TextModeTerminalHostEditor
      • TextModeThemeField
      • TextModeViewEditor
      • TextModeViewEditorBase
      • UITextModeViewEditor
    • Scylla.TextMode.URP
      • CRTQualityTierParameter
      • TextModeCRTInjectionPoint
      • TextModeCRTPresetParameter
      • TextModeCRTRendererFeature
      • TextModeCRTVolume

    Struct TextModeColorSet

    Authoring container holding every color a TextMode theme defines: the sixteen ANSI colors that indexed text is drawn with, and the semantic colors that name what a color is for. Passed to CreateEntries(in TextModeColorSet) to produce the palette entries for one theme.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Scylla.TextMode
    Assembly: ScyllaTextMode.dll
    Syntax
    public struct TextModeColorSet
    Remarks

    This type exists so the entry names and semantic roles of a theme palette are declared in exactly one place. Theme authors fill in the colors and never spell an entry name, which matters because a misspelled entry drops the whole palette out of Resolve(string).

    It is an authoring type, not a runtime one. At runtime the colors are read back out of a ColorPalette into a TextModeColorScheme, which is what views and terminals actually consume.

    Fields

    Accent

    Highlight color for headings, keys and anything meant to draw the eye.

    Declaration
    public Color Accent
    Field Value
    Type Description
    Color

    Background

    Default cell background, and the color a cleared grid is filled with.

    Declaration
    public Color Background
    Field Value
    Type Description
    Color

    Black

    ANSI color 0. Also the usual terminal background.

    Declaration
    public Color Black
    Field Value
    Type Description
    Color

    Blue

    ANSI color 4.

    Declaration
    public Color Blue
    Field Value
    Type Description
    Color

    Border

    Frames, rules and separators drawn with box characters.

    Declaration
    public Color Border
    Field Value
    Type Description
    Color

    BrightBlack

    ANSI color 8. Conventionally a mid gray rather than a second black.

    Declaration
    public Color BrightBlack
    Field Value
    Type Description
    Color

    BrightBlue

    ANSI color 12.

    Declaration
    public Color BrightBlue
    Field Value
    Type Description
    Color

    BrightCyan

    ANSI color 14.

    Declaration
    public Color BrightCyan
    Field Value
    Type Description
    Color

    BrightForeground

    Emphasized text, one step brighter than Foreground.

    Declaration
    public Color BrightForeground
    Field Value
    Type Description
    Color

    BrightGreen

    ANSI color 10.

    Declaration
    public Color BrightGreen
    Field Value
    Type Description
    Color

    BrightMagenta

    ANSI color 13.

    Declaration
    public Color BrightMagenta
    Field Value
    Type Description
    Color

    BrightRed

    ANSI color 9.

    Declaration
    public Color BrightRed
    Field Value
    Type Description
    Color

    BrightWhite

    ANSI color 15.

    Declaration
    public Color BrightWhite
    Field Value
    Type Description
    Color

    BrightYellow

    ANSI color 11.

    Declaration
    public Color BrightYellow
    Field Value
    Type Description
    Color

    Cursor

    The text cursor.

    Declaration
    public Color Cursor
    Field Value
    Type Description
    Color

    Cyan

    ANSI color 6.

    Declaration
    public Color Cyan
    Field Value
    Type Description
    Color

    DimForeground

    Secondary text such as hints, disabled entries and inactive labels.

    Declaration
    public Color DimForeground
    Field Value
    Type Description
    Color

    ErrorForeground

    Failures and error messages.

    Declaration
    public Color ErrorForeground
    Field Value
    Type Description
    Color

    Foreground

    Default text color, used for any cell written without an explicit color.

    Declaration
    public Color Foreground
    Field Value
    Type Description
    Color

    Green

    ANSI color 2.

    Declaration
    public Color Green
    Field Value
    Type Description
    Color

    InfoForeground

    Neutral notices.

    Declaration
    public Color InfoForeground
    Field Value
    Type Description
    Color

    Magenta

    ANSI color 5.

    Declaration
    public Color Magenta
    Field Value
    Type Description
    Color

    Red

    ANSI color 1.

    Declaration
    public Color Red
    Field Value
    Type Description
    Color

    SelectionBackground

    Fill color behind a selected region.

    Declaration
    public Color SelectionBackground
    Field Value
    Type Description
    Color

    SelectionForeground

    Text color inside a selected region.

    Declaration
    public Color SelectionForeground
    Field Value
    Type Description
    Color

    SuccessForeground

    Confirmations and completed actions.

    Declaration
    public Color SuccessForeground
    Field Value
    Type Description
    Color

    WarningForeground

    Cautions and non-fatal problems.

    Declaration
    public Color WarningForeground
    Field Value
    Type Description
    Color

    White

    ANSI color 7. Also the usual terminal foreground.

    Declaration
    public Color White
    Field Value
    Type Description
    Color

    Yellow

    ANSI color 3.

    Declaration
    public Color Yellow
    Field Value
    Type Description
    Color
    In this article
    Back to top Scylla Framework - TextMode Module API Documentation