See the version list below for details.
dotnet add package SadConsole --version 8.99.0-debug
NuGet\Install-Package SadConsole -Version 8.99.0-debug
<PackageReference Include="SadConsole" Version="8.99.0-debug" />
paket add SadConsole --version 8.99.0-debug
#r "nuget: SadConsole, 8.99.0-debug"
// Install SadConsole as a Cake Addin #addin nuget:?package=SadConsole&version=8.99.0-debug&prerelease // Install SadConsole as a Cake Tool #tool nuget:?package=SadConsole&version=8.99.0-debug&prerelease
Breaking changes to themes and controls
The control themes system is now a lot simpler.
- Themes only come from two places, the control directly or from the library.
- Each control has a
ThemeColorsproperty that controls the colors of the theme. If set to
nullthe colors are pulled from the parent console/window.
- The Console/Window types have a
ThemeColorsproperty that specify the colors for all controls. If set to
nullthe colors are instead pulled from the library.
- The library has been simplified. Each control type is registered with a theme via the
Library.SetControlTheme. To overwrite a default theme, set it in the library.
When you create a new a control, and thus have a new theme, register it with the library
SadConsole.Themes.Library.Default.SetControlTheme(typeof(yourControl), new ThemeType());When a control is created it queries the library for a theme, which is a clone of the one registered with the library. If you want to override the library-supplied theme, just set the
Setting colors for a console or a control is easy. Each control and
ThemeColorsproperty. Set this to
I know I'm not supposed to add breaking changes without increasing the major version. However, V9 is already labeled and I wasn't planning on this change. This change was actually created for V9 as a way to solve the problems with v8's theme system. But it proved so simple to implement that I wanted to port it.
Because of the breaking change, I'm setting this version to a strange one, v8.99.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- newtonsoft.json (>= 11.0.2)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on SadConsole:
A canvas class that works with SadConsole and MonoGame host.
A graphics hosting library for SadConsole that targets MonoGame.
A graphics hosting library for SadConsole that targets SFML.
A library of common classes that extend SadConsole with new controls, windows, and more.
A helper library for SadConsole games built with GoRogue.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on SadConsole:
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
Fix xml docs