Class ThemeSettings
Settings for the color theme applied to text mode views.
Inherited Members
Namespace: Scylla.TextMode
Assembly: ScyllaTextMode.dll
Syntax
[Serializable]
public class ThemeSettings
Fields
ApplyThemeToViews
Whether the configured theme is applied to views when the module starts.
Declaration
[Tooltip("When enabled, views take their default foreground, background, cursor and selection colors from the theme at startup instead of the values set on the component. This covers startup only: to stop a view following later theme changes, turn off Follow Color Theme on the view itself.")]
public bool ApplyThemeToViews
Field Value
| Type | Description |
|---|---|
| bool |
Remarks
This covers startup only. Turning it off leaves every view with the colors set on the
component, but it does not stop a later theme change from repainting them, because a
view follows theme changes on its own. To keep one view out of that entirely, turn
off its own FollowColorTheme property instead.
RemapOnThemeChange
Whether switching theme also recolors text that is already on screen.
Declaration
[Tooltip("When enabled, changing the theme rewrites cells and scrollback lines that were colored by the previous theme so existing content follows the switch. When disabled, the new colors only apply to text written afterwards.")]
public bool RemapOnThemeChange
Field Value
| Type | Description |
|---|---|
| bool |
ThemeName
Name of the color palette used as the active theme.
Declaration
[Tooltip("Name of the color palette views take their colors from. Any palette tagged \"TextMode\" that leads with the sixteen ANSI colors can be used, including one the project adds itself. An unknown name falls back to the classic theme and logs a warning.")]
public string ThemeName
Field Value
| Type | Description |
|---|---|
| string |