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

    Class TextModeColorPaletteDefaults

    Color tables for the TextMode themes that ship as assets. Consumed by TextModeColorAssetGenerator, which writes them out as ColorPaletteAsset files.

    Inheritance
    object
    TextModeColorPaletteDefaults
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.TextMode.Editor
    Assembly: ScyllaTextMode.Editor.dll
    Syntax
    public static class TextModeColorPaletteDefaults
    Remarks

    These live in the editor assembly on purpose. Only the classic theme has a body in the runtime assembly, because it is the fallback the module needs when nothing can be resolved; the others exist purely as assets, so the shipped runtime DLL carries one palette rather than all of them.

    Every theme leads with the sixteen ANSI colors in ANSI order, which CreateEntries(in TextModeColorSet) enforces by construction.

    Methods

    CreateAll()

    Builds every theme palette the module ships, classic included.

    Declaration
    public static ColorPalette[] CreateAll()
    Returns
    Type Description
    ColorPalette[]

    Every theme palette, in the order they are cycled.

    CreateAmberPhosphor()

    Builds the amber phosphor theme, the warmer monochrome variant.

    Declaration
    public static ColorPalette CreateAmberPhosphor()
    Returns
    Type Description
    ColorPalette

    The amber phosphor palette.

    CreateAmiga()

    Builds the Amiga theme: white text on blue with an orange cursor and accent, after the Workbench 1.3 screen and its shell.

    Declaration
    public static ColorPalette CreateAmiga()
    Returns
    Type Description
    ColorPalette

    The Amiga palette.

    Remarks

    Workbench 1.3 uses four colors, and the theme keeps them exactly: the blue background, white, the near-black and the orange. The other ANSI colors do not exist on that screen, so they are vivid 12-bit colors of the Amiga's own range, each one distinct. ANSI blue is a lighter blue than the background, so text written in it stays readable. Keeping all sixteen apart lets text drawn in red or green stay red or green, and lets a later theme change tell them apart. Text is a near-white so it differs from bright white.

    CreateGreenPhosphor()

    Builds the green phosphor theme: a monochrome scheme after the P1 phosphor monitors of the period, where every ANSI slot lands somewhere on one green ramp.

    Declaration
    public static ColorPalette CreateGreenPhosphor()
    Returns
    Type Description
    ColorPalette

    The green phosphor palette.

    CreateLightman()

    Builds the Lightman theme: pale blue text on near-black, monochrome like the phosphor themes, with a deeper blue for links and the accent, and selections drawn as inverse text.

    Declaration
    public static ColorPalette CreateLightman()
    Returns
    Type Description
    ColorPalette

    The Lightman palette.

    Remarks

    The foreground is pale on purpose, because that is the look this theme reproduces. The brightest slot still gains saturation and moves toward cyan instead of washing out to white, so bold and bright text stay blue.

    CreateMidnight()

    Builds the midnight theme: saturated azure text on deep navy, with jewel tones across the ANSI block for an interface that wants color without going monochrome.

    Declaration
    public static ColorPalette CreateMidnight()
    Returns
    Type Description
    ColorPalette

    The midnight palette.

    CreatePaper()

    Builds the paper theme, the one light scheme.

    Declaration
    public static ColorPalette CreatePaper()
    Returns
    Type Description
    ColorPalette

    The paper palette.

    Remarks

    The bright ramp is inverted here, and that is deliberate. On a dark theme the bright ANSI colors run toward white; on a light background that would make every piece of bold text disappear into the page. Bright means "further from the background", which on paper means darker. Do not build this theme by taking a dark one and lightening its background.

    CreateWordPerfect()

    Builds the WordPerfect theme: light gray text on blue, after the DOS word processors of the late 1980s, with bright white for emphasis and selections drawn as blue on gray.

    Declaration
    public static ColorPalette CreateWordPerfect()
    Returns
    Type Description
    ColorPalette

    The WordPerfect palette.

    Remarks

    The ANSI colors are the colors of the DOS text mode on a VGA card, so the theme reproduces that standard and is exempt from the vivid color rule. Yellow is the text mode's brown. Two colors differ from the standard: the background is the text mode's blue instead of black, and ANSI blue is a lighter blue, because the standard blue is the background color and text written in it would be invisible.

    In this article
    Back to top Scylla Framework - TextMode Module API Documentation