Frank.CrossPlatformWindow.Tests.ConsoleApp 1.0.5-preview

This is a prerelease version of Frank.CrossPlatformWindow.Tests.ConsoleApp.
dotnet add package Frank.CrossPlatformWindow.Tests.ConsoleApp --version 1.0.5-preview                
NuGet\Install-Package Frank.CrossPlatformWindow.Tests.ConsoleApp -Version 1.0.5-preview                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Frank.CrossPlatformWindow.Tests.ConsoleApp" Version="1.0.5-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Frank.CrossPlatformWindow.Tests.ConsoleApp --version 1.0.5-preview                
#r "nuget: Frank.CrossPlatformWindow.Tests.ConsoleApp, 1.0.5-preview"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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