Frank.CrossPlatformWindow.Tests.ConsoleApp
1.0.5-preview
dotnet add package Frank.CrossPlatformWindow.Tests.ConsoleApp --version 1.0.5-preview
NuGet\Install-Package Frank.CrossPlatformWindow.Tests.ConsoleApp -Version 1.0.5-preview
<PackageReference Include="Frank.CrossPlatformWindow.Tests.ConsoleApp" Version="1.0.5-preview" />
paket add Frank.CrossPlatformWindow.Tests.ConsoleApp --version 1.0.5-preview
#r "nuget: Frank.CrossPlatformWindow.Tests.ConsoleApp, 1.0.5-preview"
// Install Frank.CrossPlatformWindow.Tests.ConsoleApp as a Cake Addin #addin nuget:?package=Frank.CrossPlatformWindow.Tests.ConsoleApp&version=1.0.5-preview&prerelease // Install Frank.CrossPlatformWindow.Tests.ConsoleApp as a Cake Tool #tool nuget:?package=Frank.CrossPlatformWindow.Tests.ConsoleApp&version=1.0.5-preview&prerelease
Frank.CrossPlatformWindow
A base library only displaying the simplest form of a window on Windows, Linux and MacOS. This library is intended to be used as a base for more complex libraries that require a window to be displayed.
Mechanis
The library uses the SDL2 library to create a window and display it.
Usage
To use the library, you need just inject IWindow interface into your class and call the methods you need. The library is designed to be as simple as possible, so it only provides the most basic methods to create a window and display it.
Example
using Frank.CrossPlatformWindow;
using System;
namespace Example
{
class Program
{
static void Main(string[] args)
{
IWindow window = new Window();
window.CreateWindow("Example", 800, 600);
window.ShowWindow();
window.Run();
}
}
}
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
- SDL2 library
- SDL2-CS library
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Frank.CrossPlatformWindow (>= 1.0.5-preview)
- Microsoft.Extensions.Hosting (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.5-preview | 63 | 7/18/2024 |